CaeDOFSetCollection Class¶
-
class
NXOpen.CAE.
CaeDOFSetCollection
¶ Bases:
object
Provides methods for managing DOFSet
NXOpen.CAE.CaeDOFSet
To obtain an instance of this class, refer to
NXOpen.CAE.SimSimulation
New in version NX7.5.0.
Methods¶
Method | Description |
---|---|
CopyDofset | Copy a DOFSet @return The copied DOFSet object |
CreateDofset | Create a DOFSet A true for a dof logical entry would mean that the dof is included for that corresponding node. |
CreateExclusiveOrDofset | Create a XOR of DOFSets @return The created XOR DOFSet object |
CreateIntersectionDofset | Create an Intersection of DOFSets @return The created intersection DOFSet object |
CreateUnionDofset | Create a Union of DOFSets @return The created union DOFSet object |
FindObject | Finds the NXOpen.CAE.CaeDOFSet with the given identifier as recorded in a journal. |
QueryDofsetList | Query DOFSets list |
Method Detail¶
CopyDofset¶
-
CaeDOFSetCollection.
CopyDofset
¶ Copy a DOFSet
Signature
CopyDofset(dofsetName, sourceDofset)
Parameters: - dofsetName (str) – Name of the copied DOFSet NOTE: The full Unicode character set is not supported for this parameter.
- sourceDofset (
NXOpen.CAE.CaeDOFSet
) – The source DOFSet object
Returns: The copied DOFSet object
Return type: New in version NX7.5.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
CreateDofset¶
-
CaeDOFSetCollection.
CreateDofset
¶ Create a DOFSet A true for a dof logical entry would mean that the dof is included for that corresponding node.
A false would mean that the dof is not included for that node.
Signature
CreateDofset(dofsetName, nodes, dof1, dof2, dof3, dof4, dof5, dof6)
Parameters: - dofsetName (str) – Name of a DOFSet NOTE: The full Unicode character set is not supported for this parameter.
- nodes (list of
NXOpen.CAE.FENode
) – Array of nodes in the DOFSetNXOpen.CAE.FENode
- dof1 (list of bool) – Array of DOF1 values
- dof2 (list of bool) – Array of DOF2 values
- dof3 (list of bool) – Array of DOF3 values
- dof4 (list of bool) – Array of DOF4 values
- dof5 (list of bool) – Array of DOF5 values
- dof6 (list of bool) – Array of DOF6 values
Returns: The created DOFSet object
Return type: New in version NX7.5.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
CreateExclusiveOrDofset¶
-
CaeDOFSetCollection.
CreateExclusiveOrDofset
¶ Create a XOR of DOFSets
Signature
CreateExclusiveOrDofset(dofsetName, objects)
Parameters: - dofsetName (str) – Name of the XOR DOFSet NOTE: The full Unicode character set is not supported for this parameter.
- objects (list of
NXOpen.CAE.CaeDOFSet
) – DOFSets that need to be XORed
Returns: The created XOR DOFSet object
Return type: New in version NX7.5.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
CreateIntersectionDofset¶
-
CaeDOFSetCollection.
CreateIntersectionDofset
¶ Create an Intersection of DOFSets
Signature
CreateIntersectionDofset(dofsetName, objects)
Parameters: - dofsetName (str) – Name of the intersection DOFSet NOTE: The full Unicode character set is not supported for this parameter.
- objects (list of
NXOpen.CAE.CaeDOFSet
) – DOFSets that need to be intersected
Returns: The created intersection DOFSet object
Return type: New in version NX7.5.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
CreateUnionDofset¶
-
CaeDOFSetCollection.
CreateUnionDofset
¶ Create a Union of DOFSets
Signature
CreateUnionDofset(dofsetName, objects)
Parameters: - dofsetName (str) – Name of the unioned DOFSet NOTE: The full Unicode character set is not supported for this parameter.
- objects (list of
NXOpen.CAE.CaeDOFSet
) – DOFSets that need to be unioned
Returns: The created union DOFSet object
Return type: New in version NX7.5.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
FindObject¶
-
CaeDOFSetCollection.
FindObject
¶ Finds the
NXOpen.CAE.CaeDOFSet
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) – Identifier of the DOFSet you want Returns: The found DOFSet Return type: NXOpen.CAE.CaeDOFSet
New in version NX7.5.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
QueryDofsetList¶
-
CaeDOFSetCollection.
QueryDofsetList
¶ Query DOFSets list
Signature
QueryDofsetList()
Returns: Return type: list of NXOpen.TaggedObject
New in version NX7.5.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)