frontform
Hello guys,
I have a question about changing the base object after getting objects instanced
in the instance manager. I've done it via Node Editor, changing connections of the base object transform and shape which vere connected to the Scatter and Elevation nodes.

Is there a simpler, automised way to transfer those information to another base object?
For example:
1. select current base object;
2. select -add new base object;
3. execute script.

If no I will propably manage to wright a mel script to do so.
Just asking if anyone has a clue.

Cheers, 

 
Reply 0 0
pshipkov
There is nothing in the GUI to do that, but here is very simple way how to do it:

connectAttr -f futureBaseMesh.outMesh currentBaseMesh.inMesh;
(optionally) refresh(); disconnectAttr -f futureBaseMesh.outMesh currentBaseMesh.inMesh;
Done.

But I can add something in the GUI to rewire things in a more user friendly way.
Reply 0 0
frontform
Peter, thanks for a super-fast reply. The first line of code works like a charm, thanks 🙂 I'll have some other automation questions, but I'm off now. Have a great weekend.
Reply 0 0
Reply