THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 02/10/2005 at 06:06, xxxxxxxx wrote:
Wow, that is it!
"FindObject" is the problem.
Don't run:
main(doc, op)
{
var tobject = doc->FindObject ( op );
if ( !tobject ) return;
var tag = AllocTag(Texpresso);
tobject->InsertTag(tag);
}
[b]That's run:[/b]
main(doc, op)
{
var tag = AllocTag(Texpresso);
op->InsertTag(tag);
}
I generate the objects by myself at runtime of the coffee-Script.
I don't use C or C++ - only R9.5 Coffee-Console!
to create the Objekt I use this Code:
var Bone = new(BoneObject);
Bone->SetName("Objekt1");
doc->InsertObject(Bone,NULL,NULL);
You write: "So you should have a number or the object's name (in double-quotes) there. "
Is "Objekt1" the name I can use?
Or how can I get the Number of the object?