NodeType

NodeType

Enumerates of the types returned by Model.getNodeType()

Enumeration Members

NodeType.AssemblyNode
AssemblyNode: 0

This is a node in the model tree, this node doesn’t hold any instanced mesh/body.

NodeType.Body
Body: 6

This node is a non instanced “undefined” body, held by a Part type node.

NodeType.BodyInstance
BodyInstance: 3

This node is an instanced mesh/body.

NodeType.BrepBody
BrepBody: 7

This node is a non instanced body built from a brep, held by a Part type node.

NodeType.CadView
CadView: 12

This node is the CAD view, holding view data and ViewFrame.

NodeType.DrawingSheet
DrawingSheet: 13

This node is a Drawing sheet.

NodeType.Part
Part: 2

This node is a non instanced part, it holds the actual mesh/body data, like measurement.

NodeType.PartInstance
PartInstance: 1

This is a node in the model tree, but this one holds one or more instanced meshes/bodies.

NodeType.Pmi
Pmi: 11

This node is a PMI, holding PMI data and PmiBody.

NodeType.PmiBody
PmiBody: 4

This node is an instanced PMI mesh/body.

NodeType.PointsBody
PointsBody: 10

This node is a non instanced body built from a point cloud, held by a Part type node.

NodeType.TessBody
TessBody: 8

This node is a non instanced body built from a tessellated object, held by a Part type node.

NodeType.Unknown
Unknown: 14

If for any reason a node doesn’t correspond to any of those types, unknown is returned.

NodeType.ViewFrame
ViewFrame: 5

This node corresponds to the frame you’ll find surrounding PMIs when the view is a CATIA annotation view type.

NodeType.WireBody
WireBody: 9

This node is a non instanced body built from a wireframed object, held by a Part type nod.e