ShapeCollection Class¶
-
class
NXOpen.Diagramming.ShapeCollection¶ Bases:
objectRepresents a collection of Shape.
To obtain an instance of this class, refer to
NXOpen.Diagramming.DiagrammingManagerNew in version NX10.0.0.
Methods¶
| Method | Description |
|---|---|
| CreateShapeBuilder | Creates a NXOpen.Diagramming.ShapeBuilder. |
| FindObject | Finds the NXOpen.Diagramming.Shape with the given identifier as recorded in a journal. |
Method Detail¶
CreateShapeBuilder¶
-
ShapeCollection.CreateShapeBuilder¶ Creates a
NXOpen.Diagramming.ShapeBuilder.Signature
CreateShapeBuilder(shape)Parameters: shape ( NXOpen.Diagramming.Shape) –NXOpen.Diagramming.Shapeto be edited, if None then create a new oneReturns: Return type: NXOpen.Diagramming.ShapeBuilderNew in version NX10.0.0.
License requirements: None.
FindObject¶
-
ShapeCollection.FindObject¶ Finds the
NXOpen.Diagramming.Shapewith the given identifier as recorded in a journal.An exception will be thrown if no object can be found with given name.
Signature
FindObject(journalIdentifier)Parameters: journalIdentifier (str) – Identifier to be found Returns: NXOpen.Diagramming.Shapewith this name.Return type: NXOpen.Diagramming.ShapeNew in version NX10.0.0.
License requirements: None.