ExpressionBlockCollection Class¶
-
class
NXOpen.Mechatronics.ExpressionBlockCollection¶ Bases:
objectRepresents a collection of ExpressionBlockObject.
To obtain an instance of this class, refer to
NXOpen.Mechatronics.PhysicsManagerNew in version NX11.0.0.
Methods¶
| Method | Description |
|---|---|
| CreateExpressionBlockBuilder | Creates a NXOpen.Mechatronics.ExpressionBlockBuilder. |
| FindObject | Finds the NXOpen.Mechatronics.ExpressionBlockObject with the given name. |
Method Detail¶
CreateExpressionBlockBuilder¶
-
ExpressionBlockCollection.CreateExpressionBlockBuilder¶ Creates a
NXOpen.Mechatronics.ExpressionBlockBuilder.Signature
CreateExpressionBlockBuilder(expressionBlockObject)Parameters: expressionBlockObject ( NXOpen.Mechatronics.ExpressionBlockObject) –NXOpen.Mechatronics.ExpressionBlockObjectto be edited, if None then create a new oneReturns: Return type: NXOpen.Mechatronics.ExpressionBlockBuilderNew in version NX11.0.0.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
FindObject¶
-
ExpressionBlockCollection.FindObject¶ Finds the
NXOpen.Mechatronics.ExpressionBlockObjectwith the given name.An object may not return the same value as its JournalIdentifier in different versions of the software. However newer versions of the software should find the same object when FindObject is passed older versions of its journal identifier. In general, this method should not be used in handwritten code and exists to support record and playback of journals. An exception will be thrown if no object can be found with given name.
Signature
FindObject(name)Parameters: name (str) – The name of the NXOpen.Mechatronics.ExpressionBlockObject.Returns: NXOpen.Mechatronics.ExpressionBlockObjectwith this name.Return type: NXOpen.Mechatronics.ExpressionBlockObjectNew in version NX11.0.0.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)