Go to: Synopsis. Return value. Flags. MEL examples.
paramLocator [-position]
[object]
paramLocator is undoable, queryable, and editable.
The command creates a locator in the underworld of a NURBS curve or NURBS surface at the specified parameter value. If no object is specified, then a locator will be created on the first valid selected item (either a curve point or a surface point).string | Name for the new locator in the underworld of NURBS shape. |
In query mode, return type is based on queried flag.
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
-position(-p)
|
|
|||
|
Flag can appear in Create mode of command | Flag can appear in Edit mode of command |
Flag can appear in Query mode of command | Flag can be used more than once in a command. |
// Creates a locator on curve1 at parameter value 0.5. paramLocator curve1.u[0.5]; // Creates a locator on curve1 at its second edit point. (ep[0] is the 1st edit point). paramLocator curve1.ep[1]; // Creates a locator on curve1 at normalized parameter value 0.25. paramLocator curve1.un[0.25]; // Creates a locator on surface1 at parameter value (0.5,0.5). paramLocator surface1.uv[0.5][0.5];