View Full Version : rename pfx-brush + stroke

07 July 2007, 01:35 PM

Im setting up a melscript that creates several (randomly positioned) curves and attachs a saved pfx-brush to each curve.

Creating the curves and attaching the brushes is of course no problem. The problem is in the renaming (for later purpose) of the brushes. When attaching a brush the stroke gets selected (which I directly rename). But how do I get to the connected brush through mel ?

Right now Im doing more or less renaming by hand through a "select "brush*"" command and a for-loop, which doesnt always ensure that the connected stroke and brush gets the same number.

In other words: when a stroke is selected, can I directly select the connected brush with mel? Is there a command to travel down the node-chain or something similar?

many thanks,

CGTalk Moderation
07 July 2007, 01:35 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.