Object Hierarchy | Related C++ Class: Point
Point
v1.5
A Point is a generic object used to access a Vertex (PolygonMesh) or a ControlPoint (NurbsSurfaceMesh or NurbsCurveList). Having a generic object
allows you to write code to traverse an object's geometry without
resorting to special case handling for specific geometry
types.
Tip: To work with the more specific geometry types, you can use the
Point.SubComponent property
which returns a SubComponent
object. The SubComponent allows you to access the VertexCollection and ControlPointCollection via the
SubComponent.ComponentCollection
property.
Application | Categories | FullName | Help |
Index | Name | NestedObjects | Normal |
Origin | OriginPath | Parent | Position |
Samples | SubComponent | Type | |
set oRoot = application.activeproject.activescene.root set oObj = oRoot.addgeometry( "Cube", "MeshSurface" ) set oGeometry = oObj.activeprimitive.geometry set oPoint = oGeometry.Points(0) |