I am trying to replicate Object -> Duplicate in Poser Python. I am duplicating the prop by calling:
newProp = scene.CreatePropFromGeom(geom, instanceName)
I provide the geometry for the new copy, and it has a Materials() property, but the materials are not copied. Maybe there is another way to duplicate a prop that already preserves the materials? Or is this the only way?
Where I am now, I have the root nodes from both source and destiny materials, and I will have to write code to reproduce everything from one tree to the other. I wish I could just make an assignment. Can we assign a material from one object to another?
newProp = scene.CreatePropFromGeom(geom, instanceName)
I provide the geometry for the new copy, and it has a Materials() property, but the materials are not copied. Maybe there is another way to duplicate a prop that already preserves the materials? Or is this the only way?
Where I am now, I have the root nodes from both source and destiny materials, and I will have to write code to reproduce everything from one tree to the other. I wish I could just make an assignment. Can we assign a material from one object to another?