isValid |
Indicates if this object is still valid, i.e. hasn't been deleted or some other action done to invalidate the reference. |
nodeCoordinates |
Returns the node coordinates as an array of Point3D objects. |
nodeCoordinatesAsDouble |
Returns the node coordinates as an array of doubles where they are the x, y, z components of each coordinate. |
nodeCoordinatesAsFloat |
Returns the node coordinates as an array of floats where they are the x, y, z components of each coordinate. |
nodeCount |
Returns the number of nodes in the mesh. |
nodeCountPerPolygon |
Returns the number of nodes that define each polygon. For example, if NodeCountPerPolygon[0] returns 6 it indicates the first polygon is defined using 6 nodes. The first six indices returned by the PolygonNodeIndices properties provide the look-up into the NodeCoordinates array. |
normalVectors |
Returns the normal vectors as an array of Vector 3D objects. There is one normal vector for each index. |
normalVectorsAsDouble |
Returns the normal vectors as an array of doubles where they are the x, y, z components of each vector. There is one normal vector for each index. |
normalVectorsAsFloat |
Returns the normal vectors as an array of floats. There is one normal vector for each index. |
objectType |
This property is supported by all objects in the API and returns a string that contains the full name (namespace::objecttype) describing the type of the object.
It's often useful to use this in combination with the classType method to see if an object is a certain type. For example: if obj.objectType == adsk.core.Point3D.classType(): |
polygonCount |
Returns the number of polygons (more than 4 sides) in the mesh. |
polygonNodeIndices |
Returns the index values that index into the NodeCoordinates and NormalVectors arrays to define the coordinates of each polygon and the corresponding normal. |
quadCount |
Returns the number of quads in the mesh. |
quadNodeIndices |
Returns the index values that index into the NodeCoordinates and NormalVectors arrays to define the four coordinates of each quad and the corresponding normal. |
triangleCount |
Returns the number of triangles in the mesh. |
triangleFaceGroupTempIds |
Returns the face groups tempId values for every triangle of the mesh. The tempId corresponds to the triangles, which are defined in triangleNodeIndices. |
triangleNodeIndices |
Returns the index values that index into the NodeCoordinates and NormalVectors arrays to define the three coordinates of each triangle and the corresponding normal. |