THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 31/03/2006 at 01:21, xxxxxxxx wrote:
Cinema 4D Version: 9.5
Platform: Windows ;
Language(s) : C.O.F.F.E.E ;
how the hell does this alloctag() work? when I try to allocate new tags to an object, all I get is:
"Variable or Function expected"!
var tag = alloctag(Texpresso);
should insert a simple Xpresso-Tag, but produces the above message on compile. My cinema does not seem to know any of the possible parameters of the alloctag() function. What's the problem?
On 31/03/2006 at 02:05, xxxxxxxx wrote:
Does 'op' exist? Before calling op->InsertTag(tag); try checking for a valid object:
var tag = AllocTag(Texpresso);
else println("No object for tag");
Make sure you have a selected object (?)
On 31/03/2006 at 07:03, xxxxxxxx wrote:
Found my error ... just the usual typing stuff with capital and small letters ...
thanks for the help, the checking still is a good idea!
On 31/03/2006 at 11:56, xxxxxxxx wrote:
It wasn't clear if 'alloctag' was just quick typing or the actual code. Glad that you resolved the problem.
Have a good weekend,