Archinect
anchor

Maya Scripting

perturbanist

Maybe some Maya guru can enlighten me...

When writing scripts what do you type to replace the particular geometry name (nurbsplane1) to initiate the script on any object selected later?

I'm doing a bit of work and hoping to copy the scripts from the editor and then paste it into a button that will work on any selected geometry, not just the geometry I initially used.

thanks! you rock.

 
Oct 28, 06 10:56 am
perturbanist

maybe '-relative' ???

Oct 28, 06 11:14 am  · 
 · 
mespellrong

There is a paramater in the draw command that names the instance of the object. RTFM.

Oct 28, 06 12:18 pm  · 
 · 
perturbanist

TFM=POS

Oct 28, 06 1:00 pm  · 
 · 

Block this user


Are you sure you want to block this user and hide all related comments throughout the site?

Archinect


This is your first comment on Archinect. Your comment will be visible once approved.

  • ×Search in: