ViewAlignmentCollection Class¶
-
class
NXOpen.Drawings.
ViewAlignmentCollection
¶ Bases:
object
Represents a collection of :py:class:`NXOpen.Drawings.ViewAlignment`s.
To obtain an instance of this class, refer to
NXOpen.Part
New in version NX8.5.0.
Methods¶
Method | Description |
---|---|
CreateViewAlignmentBuilder | Creates a NXOpen.Drawings.ViewAlignmentBuilder @return |
FindObject | Finds the NXOpen.Drawings.ViewAlignment with the given identifier as recorded in a journal. |
Method Detail¶
CreateViewAlignmentBuilder¶
-
ViewAlignmentCollection.
CreateViewAlignmentBuilder
¶ Creates a
NXOpen.Drawings.ViewAlignmentBuilder
Signature
CreateViewAlignmentBuilder()
Returns: Return type: NXOpen.Drawings.ViewAlignmentBuilder
New in version NX8.5.0.
License requirements: drafting (“DRAFTING”)
FindObject¶
-
ViewAlignmentCollection.
FindObject
¶ Finds the
NXOpen.Drawings.ViewAlignment
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 view alignment to be found Returns: View alignment with this identifier Return type: NXOpen.Drawings.ViewAlignment
New in version NX8.5.0.
License requirements: None.