Long name (short name) |
Argument types |
Properties |
-displayStats(-ds) |
|
|
|
toggles the display of poly statistics for the active View. All
other flags are ignored if this flag is specified (Obsolete - refer
to the headsUpDisplay command) |
|
-vertex(-v) |
|
|
|
returns the number of vertices as an int |
|
-edge(-e) |
|
|
|
returns the number of edges as an int |
|
-face(-f) |
|
|
|
returns the number of faces as an int |
|
-uvcoord(-uv) |
|
|
|
returns the number of uv coordinates (for the current map if
one is not specified) as an int |
|
-triangle(-t) |
|
|
|
returns the number of triangles as an int |
|
-shell(-s) |
|
|
|
returns the number of shells shells (disconnected pieces) as an
int |
|
-boundingBox(-b) |
|
|
|
returns the object's bounding box in 3d space as 6 floats in
MEL: xmin xmax ymin ymax zmin zmax, or as a tuple of three pairs in
Python: ((xmin,xmax), (ymin,ymax), (zmin,zmax)) |
|
-boundingBox2d(-b2) |
|
|
|
returns the object's uv bounding box (for the current map if
one is not specified) in 2d space as 4 floats in MEL : xmin xmax
ymin ymax, or as a tuple of three pairs in Python: ((xmin,xmax),
(ymin,ymax), (zmin,zmax)) |
|
-vertexComponent(-vc) |
|
|
|
returns the object's number of selected vertices as an int |
|
-edgeComponent(-ec) |
|
|
|
returns the object's number of selected edges as an int |
|
-faceComponent(-fc) |
|
|
|
returns the object's number of selected faces as an int |
|
-uvComponent(-uvc) |
|
|
|
returns the object's number of selected uv coordinates as an
int |
|
-triangleComponent(-tc) |
|
|
|
returns the number of triangles of selected components as an
int |
|
-boundingBoxComponent(-bc) |
|
|
|
returns the bounding box of selected components in 3d space as
6 floats in MEL : xmin xmax ymin ymax zmin zmax, or as a tuple of
three pairs in Python: ((xmin,xmax), (ymin,ymax), (zmin,zmax)) |
|
-boundingBoxComponent2d(
-bc2) |
|
|
|
returns the bounding box of selected uv coordinates in 2d space
as 4 floats in MEL : xmin xmax ymin ymax, or as a tuple of two
pairs in Python: ((xmin,xmax), (ymin,ymax)) |
|
-accurateEvaluation(-ae) |
|
|
|
used to get accurate results for the bounding box computation
For objects with large vertex counts, accurate evaluation takes
more time |
|
-format(-fmt) |
|
|
|
used to display the results as an explicit sentence |
|
-uvSetName(-uvs) |
string |
|
|
used when querying texture vertices to specify the uv set. If a
uv set is not specified then the current map for the object will be
used |
|
-area(-a) |
|
|
|
returns the surface area of the object's faces in local space
as a float |
|
-worldArea(-wa) |
|
|
|
returns the surface area of the object's faces in world space
as a float |
|