PDA

View Full Version : Querry curve form


noobmode
06-17-2012, 04:34 AM
Curve have 3 type: open, closed and periodic curve, anybody know how can get those information?
I saw in attribute editor\nurbsCurveShape have it but don't know how to query it.

Anything would help, thanks

NaughtyNathan
06-17-2012, 11:35 AM
getAttr curve1.form; believe it or not... :rolleyes:

generally, if you want to know what type of (useable) attributes a particular node has, and what they do, open up the Node Documentation (on the Maya Help menu)

noobmode
06-17-2012, 11:59 AM
Thank Nathan, it's return an enum value so i was confused.
And btw, default create nurbs in Maya (circle,sphere....), all CVs are in local space, can we create it with Cvs in world space?

CGTalk Moderation
06-17-2012, 11:59 AM
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.