NodeType

wv.NodeType

Enumerates of the types returned by Model.getNodeType()

Enumeration Members

wv.NodeType.AssemblyNode
AssemblyNode: 0

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

wv.NodeType.Body
Body: 6

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

wv.NodeType.BodyInstance
BodyInstance: 3

This node is an instanced mesh/body.

wv.NodeType.BrepBody
BrepBody: 7

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

wv.NodeType.CadView
CadView: 12

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

wv.NodeType.DrawingSheet
DrawingSheet: 13

This node is a Drawing sheet.

wv.NodeType.Part
Part: 2

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

wv.NodeType.PartInstance
PartInstance: 1

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

wv.NodeType.Pmi
Pmi: 11

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

wv.NodeType.PmiBody
PmiBody: 4

This node is an instanced PMI mesh/body.

wv.NodeType.PointsBody
PointsBody: 10

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

wv.NodeType.TessBody
TessBody: 8

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

wv.NodeType.Unknown
Unknown: 14

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

wv.NodeType.ViewFrame
ViewFrame: 5

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

wv.NodeType.WireBody
WireBody: 9

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