NXOpen .NET Reference
12.0.0
|
Represents a builder allowing import of AutoCAD blocks. More...
Public Types | |
enum | FileFolder { File, Folder } |
the Selection mode Enum More... | |
enum | Type { Teamcenter, Part, Native } |
Symbol Type Enum. More... | |
enum | EntityType { Symbol, Component } |
Represents the Import Entity Type. More... | |
Public Member Functions | |
unsafe void | AddFolder (string folderName) |
Adds a folder to import list More... | |
unsafe void | AddFile (string fileName) |
Adds a file to import list More... | |
unsafe void | RemoveFolder (string folderName) |
Removes a folder from import list More... | |
unsafe void | RemoveFile (string fileName) |
Removes a file from import list More... | |
unsafe void | SelectFolder (string folderName, bool isSelected) |
Selects or deselects a folder More... | |
unsafe void | SelectFile (string fileName, bool isSelected) |
Selects or deselects a file More... | |
unsafe void | SelectBlock (string fileName, string blockName, bool isSelected) |
Selects or deselects a block. More... | |
Public Member Functions inherited from NXOpen.Builder | |
unsafe NXOpen.NXObject | Commit () |
Commits any edits that have been applied to the builder. More... | |
unsafe void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. More... | |
unsafe NXOpen.NXObject[] | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. More... | |
unsafe NXOpen.NXObject | GetObject () |
Returns the object currently being edited by this builder. More... | |
unsafe void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. More... | |
unsafe bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. More... | |
Properties | |
unsafe NXOpen.Annotations.ImportAutocadBlockBuilder.EntityType | ImportEntityType [get, set] |
Returns or sets the Import Entity type. More... | |
unsafe int | ImportPolylineTo [get, set] |
Returns or sets the Import polyline option More... | |
unsafe bool | IncludeModelSpace [get, set] |
Returns or sets the model space toggle More... | |
unsafe bool | IncludeSubfolders [get, set] |
Returns or sets the subfolders toggle More... | |
unsafe string | InputFolder [get, set] |
Returns or sets the name of the input folder More... | |
unsafe string | LibraryPathName [get, set] |
Returns or sets the Reuse library path name. More... | |
unsafe bool | PreserveFolderStructure [get, set] |
Returns or sets the folder structure toggle More... | |
unsafe NXOpen.Annotations.ImportAutocadBlockBuilder.FileFolder | SelectMode [get, set] |
Returns or sets the selection mode More... | |
unsafe string | SettingsFile [get, set] |
Returns or sets the AutoCAD setting file More... | |
unsafe NXOpen.Annotations.ImportAutocadBlockBuilder.Type | SymbolType [get, set] |
Returns or sets the Symbol type. More... | |
unsafe int | Unit [get, set] |
Returns or sets the symbol part unit More... | |
Represents a builder allowing import of AutoCAD blocks.
To create a new instance of this class, use NXOpen.DraftingManager.CreateImportAutocadBlockBuilder
Default values.
Property | Value |
---|---|
IncludeSubfolders |
0 |
PreserveFolderStructure |
0 |
SelectMode |
File |
Created in NX8.0.0
unsafe void NXOpen.Annotations.ImportAutocadBlockBuilder.AddFile | ( | string | fileName | ) |
Adds a file to import list
Created in NX8.0.0
License requirements: nx_layout ("NX Layout")
fileName |
unsafe void NXOpen.Annotations.ImportAutocadBlockBuilder.AddFolder | ( | string | folderName | ) |
Adds a folder to import list
Created in NX8.0.0
License requirements: nx_layout ("NX Layout")
folderName |
unsafe void NXOpen.Annotations.ImportAutocadBlockBuilder.RemoveFile | ( | string | fileName | ) |
Removes a file from import list
Created in NX8.0.0
License requirements: nx_layout ("NX Layout")
fileName |
unsafe void NXOpen.Annotations.ImportAutocadBlockBuilder.RemoveFolder | ( | string | folderName | ) |
Removes a folder from import list
Created in NX8.0.0
License requirements: nx_layout ("NX Layout")
folderName |
unsafe void NXOpen.Annotations.ImportAutocadBlockBuilder.SelectBlock | ( | string | fileName, |
string | blockName, | ||
bool | isSelected | ||
) |
Selects or deselects a block.
Both file and block names need to be specified
Created in NX8.0.0
License requirements: nx_layout ("NX Layout")
fileName | |
blockName | |
isSelected |
unsafe void NXOpen.Annotations.ImportAutocadBlockBuilder.SelectFile | ( | string | fileName, |
bool | isSelected | ||
) |
Selects or deselects a file
Created in NX8.0.0
License requirements: nx_layout ("NX Layout")
fileName | |
isSelected |
unsafe void NXOpen.Annotations.ImportAutocadBlockBuilder.SelectFolder | ( | string | folderName, |
bool | isSelected | ||
) |
Selects or deselects a folder
Created in NX8.0.0
License requirements: nx_layout ("NX Layout")
folderName | |
isSelected |
|
getset |
Returns or sets the Import Entity type.
Created in NX11.0.0
License requirements to get this property: nx_layout ("NX Layout")
License requirements to set this property: nx_layout ("NX Layout")
|
getset |
Returns or sets the Import polyline option
Created in NX8.0.0
License requirements to get this property: nx_layout ("NX Layout")
License requirements to set this property: nx_layout ("NX Layout")
|
getset |
Returns or sets the model space toggle
Created in NX8.0.0
License requirements to get this property: nx_layout ("NX Layout")
License requirements to set this property: nx_layout ("NX Layout")
|
getset |
Returns or sets the subfolders toggle
Created in NX8.0.0
License requirements to get this property: nx_layout ("NX Layout")
License requirements to set this property: nx_layout ("NX Layout")
|
getset |
Returns or sets the name of the input folder
Created in NX8.0.0
License requirements to get this property: nx_layout ("NX Layout")
License requirements to set this property: nx_layout ("NX Layout")
|
getset |
Returns or sets the Reuse library path name.
Created in NX8.0.0
License requirements to get this property: nx_layout ("NX Layout")
License requirements to set this property: nx_layout ("NX Layout")
|
getset |
Returns or sets the folder structure toggle
Created in NX8.0.0
License requirements to get this property: nx_layout ("NX Layout")
License requirements to set this property: nx_layout ("NX Layout")
|
getset |
Returns or sets the selection mode
Created in NX8.0.0
License requirements to get this property: nx_layout ("NX Layout")
License requirements to set this property: nx_layout ("NX Layout")
|
getset |
Returns or sets the AutoCAD setting file
Created in NX8.0.0
License requirements to get this property: nx_layout ("NX Layout")
License requirements to set this property: nx_layout ("NX Layout")
|
getset |
Returns or sets the Symbol type.
Used to differentiate native, teamcenter and part folder modes
Created in NX8.0.0
License requirements to get this property: nx_layout ("NX Layout")
License requirements to set this property: nx_layout ("NX Layout")
|
getset |
Returns or sets the symbol part unit
Created in NX8.0.0
License requirements to get this property: nx_layout ("NX Layout")
License requirements to set this property: nx_layout ("NX Layout")