LocalDefinitionFolderCollection Class¶
-
class
NXOpen.Layout2d.
LocalDefinitionFolderCollection
¶ Bases:
object
Represents a collection of
NXOpen.Layout2d.LocalDefinitionFolder
objects.A local definition folder contains 2D Component definitions stored in the current part To obtain an instance of this class, refer to
NXOpen.Part
New in version NX10.0.0.
Methods¶
Method | Description |
---|---|
CreateLocalDefinitionFolderBuilder | Creates local definition folder builder instance. |
FindObject | Finds the NXOpen.Layout2d.LocalDefinitionFolder with the given name. |
Method Detail¶
CreateLocalDefinitionFolderBuilder¶
-
LocalDefinitionFolderCollection.
CreateLocalDefinitionFolderBuilder
¶ Creates local definition folder builder instance.
The builder allows operations such as Creation, Edit and Deletion of local definition folders. These operations are Undo/Redo supported.
Signature
CreateLocalDefinitionFolderBuilder(currentFolder)
Parameters: currentFolder ( NXOpen.Layout2d.LocalDefinitionFolder
) –NXOpen.Layout2d.LocalDefinitionFolder
to be set as current folder. If None, create a new folderReturns: Return type: NXOpen.Layout2d.LocalDefinitionFolderBuilder
New in version NX10.0.0.
License requirements: nx_layout (“NX Layout”)
FindObject¶
-
LocalDefinitionFolderCollection.
FindObject
¶ Finds the
NXOpen.Layout2d.LocalDefinitionFolder
with the given name.An exception will be thrown if no object can be found with the given name.
Signature
FindObject(name)
Parameters: name (str) – Returns: Return type: NXOpen.Layout2d.LocalDefinitionFolder
New in version NX10.0.0.
License requirements: nx_layout (“NX Layout”)