Ok, I found it. (How to dynamically clone objects in SIO2...) I'll post it here, in case I need it again. (Dear reader, don't worry about these details... just know that it works.)
In the code for SIO2's Tutorial061, in template.mm, lines 310-328 show how to do it. Specifically, provided that _SIO2Parent is not a pseudo instance, (I.e., it doesn't end with ".001"), then you can say
_SIO2Duplicate = sio2ObjectSoftCopy (_SIO2Parent, name)
...where "name" is the new name of the object, and "_SIO2Duplicate" is the variable that receives the object.
Cool. This might be doable after all.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment