Help Object Model, Syntax, Debugging
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/05/2007 at 06:18, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 10
Platform: Windows ;
Language(s) : C.O.F.F.E.E ;---------
Hello Members,I am new to plugin cafe (as I am to C4D), so my best greetings to everyone.
I am new to coffee, and I wonder if there are means of control I just havent found yet, like syntax checking, hitting F1 on a keyword and actually getting help, debugging, single stepping...? Should I have missed something fundamental here or am i indeed left with trial and error and learning the Object tree by heart?
Thank you for any help,
Wind -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/05/2007 at 07:09, xxxxxxxx wrote:
If you use the Script Editor in Cinema4D you get color coding for different things like functions, pre-defined constant, the var type and command like new, if, else etc. Alos open the Cinema4D Console window for debugging COFFEE scripts. You usally will get error messages that contain the line of error in your code. But don't expect a full fledged IDE like Visual Studio for instance.
cheers,
Matthias -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/05/2007 at 07:21, xxxxxxxx wrote:
Matthias,
thank you very much.
I already saw the options you mentioned, but in the SDK help (9.5) I couldnt find any hints on my problems. Maybe I am on the wrong tracks altogether, so I better tell you what I want to do.
I want to read in data from an ASCII text file sequentially, in which are comma or tab separated data like e.g.
x1 y1 z1
x2 y2 z2
....
EOFI then want to convert these data into points of a spline to be built. This would enable me to make animated diagrams out of arbitrary data from my simulation programs. I came to this idea by watching a tv programme from BBC.
Can you point me into the right direction, please?
Greetings,
Wind -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 14/05/2007 at 03:21, xxxxxxxx wrote:
Yes, you can read ASCII files with COFFEE. Check out the ReadString function of the BaseFile class. Also read the docs about the string helper functions
strins(), strmid(), stradd(), strset(), strchr(), strcmp()hope that is what you are looking for
cheers,
Matthias