ExplosionCollection Class

class NXOpen.Assemblies.ExplosionCollection

Bases: object

Represents a collection of explosions

To obtain an instance of this class, refer to NXOpen.Assemblies.ComponentAssembly

New in version NX4.0.0.

Methods

Method Description
Create Creates an explosion based upon the default arrangement in the given OCC part.
FindObject Finds the NXOpen.Assemblies.Explosion with the given identifier as recorded in a journal.

Method Detail

Create

ExplosionCollection.Create

Creates an explosion based upon the default arrangement in the given OCC part.

Signature Create(explosionName)

Parameters:explosionName (str) – Name to be given to the new explosion
Returns:the new explosion
Return type:NXOpen.Assemblies.Explosion

New in version NX9.0.1.

License requirements: assemblies (“ASSEMBLIES MODULE”)

FindObject

ExplosionCollection.FindObject

Finds the NXOpen.Assemblies.Explosion with the given identifier as recorded in a journal.

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(name)

Parameters:name (str) – Name of the Explosion to be found
Returns:Explosion found, or null if no such Explosion exists.
Return type:NXOpen.Assemblies.Explosion

New in version NX9.0.1.

License requirements: None.