Community
3ds Max Animation and Rigging
Welcome to Autodesk’s 3ds Max Forums. Share your knowledge, ask questions, and explore popular 3ds Max animation topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Wire paramenters multiple objects at once

1 REPLY 1
Reply
Message 1 of 2
osukas
193 Views, 1 Reply

Wire paramenters multiple objects at once

Im Using Wire Parameters to use the value of one mesh, to control the same property of othe 50 meshes.

 

I have been conecting these manually one by one, but has to be a better solution to do it with a lot of objects at the same time.

1 REPLY 1
Message 2 of 2
leeminardi
in reply to: osukas

You can use a script something like the following.

 

(
	m = $MasterObject -- object that will drive the other objects
	obj = selection
	for o in obj do   
	(
macros.run "Parameter Wire" "paramWire"
paramWire.connect m.transform.controller[#Scale] o.transform.controller[#Scale] "Scale*3" as string

	)
)

 

In this example the scale of an object named "MasterObject" will drive the scale of other objects so that they are 3 times larger than MasterObject.  Note the need for AS STRING at the end of the wire.connect statement.

To use the script select all objects to be wired but not MasterObject and then execute.

 

lee.minardi

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report