Components are the parts of a geometric object, such as points, segments, and facets. Since each object consists of several components, you need to refer to the individual components by using a number called an index. For example, the expression that follows refers to the point number 3 on the cube "aCube":
"aCube.pnt[3]"
Native Softimage commands use string expressions, while the object model uses properties, so if you want to use the equivalent expression in the object model, the corresponding statement is:
oGeo.Points(3)
Component indexes start at 0, so "aCube.pnt[0]" or oGeo.Points(0) is the first point. For this reason, it is easier to think of "aCube.pnt[3]" or oGeo.Points(3) as point number 3 instead of as the fourth point.
String expressions are very flexible. You can select any combination of individual points, ranges, and even use wildcards. For more about using string expressions, see Accessing Scene Elements.
The tables below provides an overview of how to access object components.
Depending on the method or command you choose, "points" may refer to the control points of a NURBS object or the vertices of a polygon mesh object, or both.
Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License