NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Types | Public Member Functions | Properties | List of all members
NXOpen.Annotations.ImportAutocadBlockBuilder Class Reference

Represents a builder allowing import of AutoCAD blocks. More...

Inheritance diagram for NXOpen.Annotations.ImportAutocadBlockBuilder:
NXOpen.Builder NXOpen.TaggedObject NXOpen.GeometricUtilities.IComponentBuilder NXOpen.Utilities.NXRemotableObject IMessageSink

Public Types

enum  EntityType { Symbol, Component }
 Represents the Import Entity Type. More...
 
enum  FileFolder { File, Folder }
 the Selection mode Enum More...
 
enum  Type { Teamcenter, Part, Native }
 Symbol Type Enum. More...
 

Public Member Functions

unsafe void AddFile (string fileName)
 Adds a file to import list More...
 
unsafe void AddFolder (string folderName)
 Adds a folder to import list More...
 
unsafe void RemoveFile (string fileName)
 Removes a file from import list More...
 
unsafe void RemoveFolder (string folderName)
 Removes a folder from import list More...
 
unsafe void SelectBlock (string fileName, string blockName, bool isSelected)
 Selects or deselects a block. More...
 
unsafe void SelectFile (string fileName, bool isSelected)
 Selects or deselects a file More...
 
unsafe void SelectFolder (string folderName, bool isSelected)
 Selects or deselects a folder 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...
 
- Public Member Functions inherited from NXOpen.TaggedObject
void PrintTestData (String variableName)
 <exclude> More...
 
void PrintTestData (String variableName, int lineNumber)
 <exclude> More...
 
override string ToString ()
 Returns a String that represents the current Object. More...
 
- Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject
IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
 Asynchronously processes the given message. More...
 
IMessage SyncProcessMessage (IMessage msg)
 Synchronously processes the given message. 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...
 
- Properties inherited from NXOpen.Builder
unsafe NXOpen.PreviewBuilder PreviewBuilder [get]
 Returns the preview builder subobject. More...
 
- Properties inherited from NXOpen.TaggedObject
Tag Tag [get]
 Returns the tag of this object. More...
 
- Properties inherited from NXOpen.Utilities.NXRemotableObject
IMessageSink NextSink [get]
 Gets the next message sink in the sink chain. More...
 

Additional Inherited Members

- Protected Member Functions inherited from NXOpen.TaggedObject
new void initialize ()
 <exclude> More...
 

Detailed Description

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

Member Enumeration Documentation

Represents the Import Entity Type.

This option is used to differentiate Custom Symbols and 2D Components

Enumerator
Symbol 

Custom Symbol

Component 

2D Component

the Selection mode Enum

Enumerator
File 

File Selection mode

Folder 

Folder Selection mode

Symbol Type Enum.

This option is used to differentiate OS, Teamcenter and Part symbols

Enumerator
Teamcenter 

Teamcenter Symbol

Part 

Part Symbol

Native 

OS Symbol

Member Function Documentation

unsafe void NXOpen.Annotations.ImportAutocadBlockBuilder.AddFile ( string  fileName)
inline

Adds a file to import list

Created in NX8.0.0

License requirements: nx_layout ("NX Layout")

Parameters
fileName
unsafe void NXOpen.Annotations.ImportAutocadBlockBuilder.AddFolder ( string  folderName)
inline

Adds a folder to import list

Created in NX8.0.0

License requirements: nx_layout ("NX Layout")

Parameters
folderName
unsafe void NXOpen.Annotations.ImportAutocadBlockBuilder.RemoveFile ( string  fileName)
inline

Removes a file from import list

Created in NX8.0.0

License requirements: nx_layout ("NX Layout")

Parameters
fileName
unsafe void NXOpen.Annotations.ImportAutocadBlockBuilder.RemoveFolder ( string  folderName)
inline

Removes a folder from import list

Created in NX8.0.0

License requirements: nx_layout ("NX Layout")

Parameters
folderName
unsafe void NXOpen.Annotations.ImportAutocadBlockBuilder.SelectBlock ( string  fileName,
string  blockName,
bool  isSelected 
)
inline

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")

Parameters
fileName
blockName
isSelected
unsafe void NXOpen.Annotations.ImportAutocadBlockBuilder.SelectFile ( string  fileName,
bool  isSelected 
)
inline

Selects or deselects a file

Created in NX8.0.0

License requirements: nx_layout ("NX Layout")

Parameters
fileName
isSelected
unsafe void NXOpen.Annotations.ImportAutocadBlockBuilder.SelectFolder ( string  folderName,
bool  isSelected 
)
inline

Selects or deselects a folder

Created in NX8.0.0

License requirements: nx_layout ("NX Layout")

Parameters
folderName
isSelected

Property Documentation

unsafe NXOpen.Annotations.ImportAutocadBlockBuilder.EntityType NXOpen.Annotations.ImportAutocadBlockBuilder.ImportEntityType
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")

unsafe int NXOpen.Annotations.ImportAutocadBlockBuilder.ImportPolylineTo
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")

unsafe bool NXOpen.Annotations.ImportAutocadBlockBuilder.IncludeModelSpace
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")

unsafe bool NXOpen.Annotations.ImportAutocadBlockBuilder.IncludeSubfolders
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")

unsafe string NXOpen.Annotations.ImportAutocadBlockBuilder.InputFolder
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")

unsafe string NXOpen.Annotations.ImportAutocadBlockBuilder.LibraryPathName
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")

unsafe bool NXOpen.Annotations.ImportAutocadBlockBuilder.PreserveFolderStructure
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")

unsafe NXOpen.Annotations.ImportAutocadBlockBuilder.FileFolder NXOpen.Annotations.ImportAutocadBlockBuilder.SelectMode
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")

unsafe string NXOpen.Annotations.ImportAutocadBlockBuilder.SettingsFile
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")

unsafe NXOpen.Annotations.ImportAutocadBlockBuilder.Type NXOpen.Annotations.ImportAutocadBlockBuilder.SymbolType
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")

unsafe int NXOpen.Annotations.ImportAutocadBlockBuilder.Unit
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")


The documentation for this class was generated from the following file:
Copyright 2019 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.