NX Open C++ Reference Guide
Public Types | Public Member Functions
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

List of all members.

Public Types

enum  FileFolder { FileFolderFile, FileFolderFolder }
 the Selection mode Enum More...
enum  Type { TypeTeamcenter, TypePart, TypeNative }
 Symbol Type Enum. More...

Public Member Functions

void AddFile (const NXString &fileName)
 Adds a file to import list
Created in NX8.0.0.
void AddFolder (const NXString &folderName)
 Adds a folder to import list
Created in NX8.0.0.
int ImportPolylineTo ()
 Returns the Import polyline option
Created in NX8.0.0.
bool IncludeModelSpace ()
 Returns the model space toggle
Created in NX8.0.0.
bool IncludeSubfolders ()
 Returns the subfolders toggle
Created in NX8.0.0.
NXString InputFolder ()
 Returns the name of the input folder
Created in NX8.0.0.
NXString LibraryPathName ()
 Returns the Reuse library path name.
bool PreserveFolderStructure ()
 Returns the folder structure toggle
Created in NX8.0.0.
void RemoveFile (const NXString &fileName)
 Removes a file from import list
Created in NX8.0.0.
void RemoveFolder (const NXString &folderName)
 Removes a folder from import list
Created in NX8.0.0.
void SelectBlock (const NXString &fileName, const NXString &blockName, bool isSelected)
 Selects or deselects a block.
void SelectFile (const NXString &fileName, bool isSelected)
 Selects or deselects a file
Created in NX8.0.0.
void SelectFolder (const NXString &folderName, bool isSelected)
 Selects or deselects a folder
Created in NX8.0.0.
NXOpen::Annotations::ImportAutocadBlockBuilder::FileFolder SelectMode ()
 Returns the selection mode
Created in NX8.0.0.
void SetImportPolylineTo (int type)
 Sets the Import polyline option
Created in NX8.0.0.
void SetIncludeModelSpace (bool includeModelSpace)
 Sets the model space toggle
Created in NX8.0.0.
void SetIncludeSubfolders (bool includeSubfolders)
 Sets the subfolders toggle
Created in NX8.0.0.
void SetInputFolder (const NXString &foldername)
 Sets the name of the input folder
Created in NX8.0.0.
void SetLibraryPathName (const NXString &pathName)
 Sets the Reuse library path name.
void SetPreserveFolderStructure (bool preserveFolderStructure)
 Sets the folder structure toggle
Created in NX8.0.0.
void SetSelectMode (NXOpen::Annotations::ImportAutocadBlockBuilder::FileFolder selectMode)
 Sets the selection mode
Created in NX8.0.0.
void SetSettingsFile (const NXString &settingsFile)
 Sets the AutoCAD setting file
Created in NX8.0.0.
void SetSymbolType (NXOpen::Annotations::ImportAutocadBlockBuilder::Type symbolType)
 Sets the Symbol type.
NXString SettingsFile ()
 Returns the AutoCAD setting file
Created in NX8.0.0.
void SetUnit (int unit)
 Sets the symbol part unit
Created in NX8.0.0.
NXOpen::Annotations::ImportAutocadBlockBuilder::Type SymbolType ()
 Returns the Symbol type.
int Unit ()
 Returns the symbol part unit
Created in NX8.0.0.

Detailed Description

Represents a builder allowing import of AutoCAD blocks.


To create a new instance of this class, use DraftingManager::CreateImportAutocadBlockBuilder
Default values.

Property Value

IncludeSubfolders

0

PreserveFolderStructure

0

SelectMode

File


Created in NX8.0.0.


Member Enumeration Documentation

the Selection mode Enum

Enumerator:
FileFolderFile 

File Selection mode.

FileFolderFolder 

Folder Selection mode.

Symbol Type Enum.

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

Enumerator:
TypeTeamcenter 

Teamcenter Symbol.

TypePart 

Part Symbol.

TypeNative 

OS Symbol.


Member Function Documentation

Adds a file to import list
Created in NX8.0.0.



License requirements : nx_drafting_plus ("Drafting Plus")

Parameters:
fileName
NOTE: The full Unicode character set is not supported for this parameter.

Adds a folder to import list
Created in NX8.0.0.



License requirements : nx_drafting_plus ("Drafting Plus")

Parameters:
folderName
NOTE: The full Unicode character set is not supported for this parameter.

Returns the Import polyline option
Created in NX8.0.0.



License requirements : nx_drafting_plus ("Drafting Plus")

Returns the model space toggle
Created in NX8.0.0.



License requirements : nx_drafting_plus ("Drafting Plus")

Returns the subfolders toggle
Created in NX8.0.0.



License requirements : nx_drafting_plus ("Drafting Plus")

Returns the name of the input folder
Created in NX8.0.0.



License requirements : nx_drafting_plus ("Drafting Plus")

Returns the Reuse library path name.


Created in NX8.0.0.

License requirements : nx_drafting_plus ("Drafting Plus")

Returns the folder structure toggle
Created in NX8.0.0.



License requirements : nx_drafting_plus ("Drafting Plus")

Removes a file from import list
Created in NX8.0.0.



License requirements : nx_drafting_plus ("Drafting Plus")

Parameters:
fileName
NOTE: The full Unicode character set is not supported for this parameter.

Removes a folder from import list
Created in NX8.0.0.



License requirements : nx_drafting_plus ("Drafting Plus")

Parameters:
folderName
NOTE: The full Unicode character set is not supported for this parameter.
void NXOpen::Annotations::ImportAutocadBlockBuilder::SelectBlock ( const NXString fileName,
const NXString 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_drafting_plus ("Drafting Plus")

Parameters:
fileName
NOTE: The full Unicode character set is not supported for this parameter.
blockName
NOTE: The full Unicode character set is not supported for this parameter.
isSelectedisselected
void NXOpen::Annotations::ImportAutocadBlockBuilder::SelectFile ( const NXString fileName,
bool  isSelected 
)

Selects or deselects a file
Created in NX8.0.0.



License requirements : nx_drafting_plus ("Drafting Plus")

Parameters:
fileName
NOTE: The full Unicode character set is not supported for this parameter.
isSelectedisselected
void NXOpen::Annotations::ImportAutocadBlockBuilder::SelectFolder ( const NXString folderName,
bool  isSelected 
)

Selects or deselects a folder
Created in NX8.0.0.



License requirements : nx_drafting_plus ("Drafting Plus")

Parameters:
folderName
NOTE: The full Unicode character set is not supported for this parameter.
isSelectedisselected

Returns the selection mode
Created in NX8.0.0.



License requirements : nx_drafting_plus ("Drafting Plus")

Sets the Import polyline option
Created in NX8.0.0.



License requirements : nx_drafting_plus ("Drafting Plus")

Parameters:
typetype

Sets the model space toggle
Created in NX8.0.0.



License requirements : nx_drafting_plus ("Drafting Plus")

Parameters:
includeModelSpaceincludemodelspace

Sets the subfolders toggle
Created in NX8.0.0.



License requirements : nx_drafting_plus ("Drafting Plus")

Parameters:
includeSubfoldersincludesubfolders

Sets the name of the input folder
Created in NX8.0.0.



License requirements : nx_drafting_plus ("Drafting Plus")

Parameters:
foldernamefoldername

Sets the Reuse library path name.


Created in NX8.0.0.

License requirements : nx_drafting_plus ("Drafting Plus")

Parameters:
pathNamepathname

Sets the folder structure toggle
Created in NX8.0.0.



License requirements : nx_drafting_plus ("Drafting Plus")

Parameters:
preserveFolderStructurepreservefolderstructure

Sets the selection mode
Created in NX8.0.0.



License requirements : nx_drafting_plus ("Drafting Plus")

Parameters:
selectModeselectmode

Sets the AutoCAD setting file
Created in NX8.0.0.



License requirements : nx_drafting_plus ("Drafting Plus")

Parameters:
settingsFilesettingsfile

Sets the Symbol type.

Used to differentiate native, teamcenter and part folder modes
Created in NX8.0.0.

License requirements : nx_drafting_plus ("Drafting Plus")

Parameters:
symbolTypesymboltype

Returns the AutoCAD setting file
Created in NX8.0.0.



License requirements : nx_drafting_plus ("Drafting Plus")

Sets the symbol part unit
Created in NX8.0.0.



License requirements : nx_drafting_plus ("Drafting Plus")

Parameters:
unitunit

Returns the Symbol type.

Used to differentiate native, teamcenter and part folder modes
Created in NX8.0.0.

License requirements : nx_drafting_plus ("Drafting Plus")

Returns the symbol part unit
Created in NX8.0.0.



License requirements : nx_drafting_plus ("Drafting Plus")


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