BoltCollection Class

class NXOpen.CAE.BoltCollection

Bases: object

Provides method for creating builder for bolt operation commands in a fem/afem part

To obtain an instance of this class, refer to NXOpen.CAE.BaseFEModel

New in version NX6.0.0.

Methods

Method Description
CreateBoltBuilder Creates a builder for Bolt Command
FindObject Finds the NXOpen.CAE.Bolt with the given identifier as recorded in a journal.

Method Detail

CreateBoltBuilder

BoltCollection.CreateBoltBuilder

Creates a builder for Bolt Command

Signature CreateBoltBuilder(bolt)

Parameters:bolt (NXOpen.CAE.Bolt) – NXOpen.CAE.Bolt to be edited. if None then create a new one
Returns:
Return type:NXOpen.CAE.BoltBuilder

New in version NX6.0.0.

License requirements: nx_masterfem (“Finite Element Modeling”)

FindObject

BoltCollection.FindObject

Finds the NXOpen.CAE.Bolt with the given identifier as recorded in a journal.

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 the given journal identifier.

Signature FindObject(journalIdentifier)

Parameters:journalIdentifier (str) – Bolt name
Returns:Bolt for given identifier
Return type:NXOpen.CAE.Bolt

New in version NX6.0.0.

License requirements: nx_masterfem (“Finite Element Modeling”)