CfdContactPreventionConstraintCollection Class

class NXOpen.CAE.CfdContactPreventionConstraintCollection

Bases: object

Provides methods for managing Contact Prevention Constraints:py:class:CAE.CfdContactPreventionConstraint in a fem part

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

New in version NX9.0.0.

Methods

Method Description
CloneConstraint Clones a contact prevention constraint.
CreateBuilder Creates a local resolution constraint builder
DeleteConstraint Delete a contact prevention constraint.
Find Finds the CAE.CfdContactPreventionConstraint with the given identifier as recorded in a journal.
FindObject Finds the CAE.CfdContactPreventionConstraint with the given identifier as recorded in a journal.

Method Detail

CloneConstraint

CfdContactPreventionConstraintCollection.CloneConstraint

Clones a contact prevention constraint.

Signature CloneConstraint(source)

Parameters:source (NXOpen.CAE.CfdContactPreventionConstraint) – Source contact prevention constraint
Returns:Cloned contact prevention constraint
Return type:NXOpen.CAE.CfdContactPreventionConstraint

New in version NX9.0.0.

License requirements: nx_adv_fld_mod_solv (“NX Advanced Fluid Modeling - Full”) OR sc_acou_meshing (” SC Acoustic Meshing”)

CreateBuilder

CfdContactPreventionConstraintCollection.CreateBuilder

Creates a local resolution constraint builder

Signature CreateBuilder(recipe)

Parameters:recipe (NXOpen.TaggedObject) – CfdContactPreventionConstraint to be edited, if None or FluidDomainRecipe then create a new one
Returns:ContactPreventionConstraint Builder
Return type:NXOpen.CAE.CfdContactPreventionConstraintBuilder

New in version NX9.0.0.

License requirements: nx_adv_fld_mod_solv (“NX Advanced Fluid Modeling - Full”) OR sc_acou_meshing (” SC Acoustic Meshing”)

DeleteConstraint

CfdContactPreventionConstraintCollection.DeleteConstraint

Delete a contact prevention constraint.

Signature DeleteConstraint(constraint)

Parameters:constraint (NXOpen.CAE.CfdContactPreventionConstraint) – The contact prevention constraint to be deleted

New in version NX9.0.0.

License requirements: nx_adv_fld_mod_solv (“NX Advanced Fluid Modeling - Full”) OR sc_acou_meshing (” SC Acoustic Meshing”)

Find

CfdContactPreventionConstraintCollection.Find

Finds the CAE.CfdContactPreventionConstraint 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 Find 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 Find(journalIdentifier)

Parameters:journalIdentifier (str) – Local Resolution Constraint name
Returns:local resolution constraint with this identifier
Return type:NXOpen.CAE.CfdContactPreventionConstraint

New in version NX11.0.0.

License requirements: None.

FindObject

CfdContactPreventionConstraintCollection.FindObject

Finds the CAE.CfdContactPreventionConstraint 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 Find 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) – Local Resolution Constraint name
Returns:local resolution constraint with this identifier
Return type:NXOpen.CAE.CfdContactPreventionConstraint

New in version NX9.0.0.

License requirements: None.