ObjectInstance GetData() attribute id's
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/01/2007 at 08:49, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9.6
Platform: Mac OSX ;
Language(s) : C.O.F.F.E.E ;---------
Hello All
How do I get the ObjectInstance object reference?
I'm trying to get the reference object of an instance object with no success.var bc = cobj->GetContainer();
var sourceName = bc->GetData(INSTANCEOBJECT_SOURCE);
println("source object = ", sourceName );but always get nil
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/01/2007 at 09:09, xxxxxxxx wrote:
This should help you. Keep in mind you can drag description elements fromt the AM into the scripteditor to get the description IDs.
var ref = op#INSTANCEOBJECT_LINK; //op is inszance object and ref is the reference object println(ref->GetName());
cheers,
Matthias -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/01/2007 at 09:24, xxxxxxxx wrote:
Thanks Matthias, problem solved!.