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 @return ContactPreventionConstraint Builder |
DeleteConstraint | Delete a contact prevention constraint. |
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 constraintReturns: Cloned contact prevention constraint Return type: NXOpen.CAE.CfdContactPreventionConstraint
New in version NX9.0.0.
License requirements: nx_adv_fluid_mod (“NX Advanced Fluid Modeling”)
CreateBuilder¶
-
CfdContactPreventionConstraintCollection.
CreateBuilder
¶ Creates a local resolution constraint builder
Signature
CreateBuilder(recipe)
Parameters: recipe ( NXOpen.TaggedObject
) –CfdContactPreventionConstraint
to be edited, if None orFluidDomainRecipe
then create a new oneReturns: ContactPreventionConstraint Builder Return type: NXOpen.CAE.CfdContactPreventionConstraintBuilder
New in version NX9.0.0.
License requirements: nx_adv_fluid_mod (“NX Advanced Fluid Modeling”)
DeleteConstraint¶
-
CfdContactPreventionConstraintCollection.
DeleteConstraint
¶ Delete a contact prevention constraint.
Signature
DeleteConstraint(constraint)
Parameters: constraint ( NXOpen.CAE.CfdContactPreventionConstraint
) – The contact prevention constraint to be deletedNew in version NX9.0.0.
License requirements: nx_adv_fluid_mod (“NX Advanced Fluid Modeling”)
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 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) – 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.