ClearanceSetCollection Class¶
-
class
NXOpen.Assemblies.
ClearanceSetCollection
¶ Bases:
object
Represents
NXOpen.Assemblies.ClearanceSetCollection
.To obtain an instance of this class, refer to
NXOpen.Assemblies.ComponentAssembly
New in version NX9.0.0.
Methods¶
Method | Description |
---|---|
CountClearanceSets | Determines the number of clearance analysis datasets in the specified part. |
DeleteAllAnalysisData | Deletes all clearance analysis data from the given part, including all clearance analysis data sets, analysis results, and interference bodies. |
FindObject | Finds the NXOpen.Assemblies.ClearanceSet with the given identifier as recorded in a journal. |
Method Detail¶
CountClearanceSets¶
-
ClearanceSetCollection.
CountClearanceSets
¶ Determines the number of clearance analysis datasets in the specified part.
Signature
CountClearanceSets()
Returns: the number of clearance sets Return type: int New in version NX9.0.0.
License requirements: assemblies (“ASSEMBLIES MODULE”)
DeleteAllAnalysisData¶
-
ClearanceSetCollection.
DeleteAllAnalysisData
¶ Deletes all clearance analysis data from the given part, including all clearance analysis data sets, analysis results, and interference bodies.
Signature
DeleteAllAnalysisData()
New in version NX9.0.0.
License requirements: assemblies (“ASSEMBLIES MODULE”)
FindObject¶
-
ClearanceSetCollection.
FindObject
¶ Finds the
NXOpen.Assemblies.ClearanceSet
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(name)
Parameters: name (str) – Name of the clearance set to be found Returns: the clearance set found, or null if no such clearance set exists. Return type: NXOpen.Assemblies.ClearanceSet
New in version NX9.0.0.
License requirements: assemblies (“ASSEMBLIES MODULE”)