Scale local attributes

Scale local attributes

Anonymous
Not applicable
1,190 Views
1 Reply
Message 1 of 2

Scale local attributes

Anonymous
Not applicable

Quick question:

How do you get and set the local shape scale of a locator in Python?

 

0 Likes
1,191 Views
1 Reply
Reply (1)
Message 2 of 2

mspeer
Consultant
Consultant

Hi!

It's the same as for MEL, use getAttr and setAttr.

 

Example, light locator:

cmds.setAttr( 'directionalLightShape1.locatorScale', 2 )
0 Likes