(MotionBuilder - Python) - Duplicating Attributes in Dynamic Block


#1

Hello,

I’m starting to script in Motion Builder, I used to program in C, C++.
To learn it I’m trying to create a simple program that interacts with selected nodes in the Schematic View.
What I want to do is only duplicate the nodes that I have selected, and after interacting with them ,create some relation between the original nodes and the duplicated ones.

For example, if I have a complete body setup and I want to duplicate all the schematic (with all hierarchy) and then create a relation constrain between them. This process can be done by hand but it takes a lot of time, so to make it faster and simple I would like to create a script.

If anyone wants to give me some “lights” about it I would appreciate.