ExpressionBlockCollection Class

class NXOpen.Mechatronics.ExpressionBlockCollection

Bases: object

Represents a collection of ExpressionBlockObject.

To obtain an instance of this class, refer to NXOpen.Mechatronics.PhysicsManager

New in version NX11.0.0.

Method Detail

CreateExpressionBlockBuilder

ExpressionBlockCollection.CreateExpressionBlockBuilder

Creates a NXOpen.Mechatronics.ExpressionBlockBuilder.

Signature CreateExpressionBlockBuilder(expressionBlockObject)

Parameters:expressionBlockObject (NXOpen.Mechatronics.ExpressionBlockObject) – NXOpen.Mechatronics.ExpressionBlockObject to be edited, if None then create a new one
Returns:
Return type:NXOpen.Mechatronics.ExpressionBlockBuilder

New in version NX11.0.0.

License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

FindObject

ExpressionBlockCollection.FindObject

Finds the NXOpen.Mechatronics.ExpressionBlockObject with 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.ExpressionBlockObject with this name.
Return type:NXOpen.Mechatronics.ExpressionBlockObject

New in version NX11.0.0.

License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)