THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 23/06/2011 at 12:36, xxxxxxxx wrote:
Try this:
import c4d
from c4d import gui
def main() :
cloner = c4d.BaseObject(1018544)
doc.InsertObject(cloner)
c4d.EventAdd()
if __name__=='__main__':
main()
With the coffee script log open.
Create something. And many times it will write out the CallCommand(ID number) for you.
In this case. I just plucked out the ID number and used it in the BaseObject() function.
You can also just use c4d.CallCommand(1018544) if you prefer.
-ScottA