NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::DraftingManager Class Reference

Represents an object that manages drafting objects and member views. More...

Public Member Functions

void AddCutObject (NXOpen::DisplayableObject *object)
 Identify object to be drawn as Cut in Drafting
Created in NX8.0.0. More...
 
NXOpen::Drafting::AutomationManagerAutomationManager ()
 Returns the NXOpen::Drafting::AutomationManager belonging to this session
Created in NX8.0.0. More...
 
NXOpen::Drawings::BordersAndZonesCollectionBordersAndZonesObjects ()
 Borders and Zones Collection
Created in NX8.0.0. More...
 
NXOpen::Drawings::DrawingsPropertiesBuilderCreateDrawingsPropertiesBuilder (const std::vector< NXOpen::DisplayableObject * > &objects)
 Create the DrawingsPropertiesBuilder. More...
 
NXOpen::Annotations::ImportAutocadBlockBuilderCreateImportAutocadBlockBuilder ()
 Creates the Builder for the AutoCAD Block Importer. More...
 
NXOpen::Annotations::ImportSymbolBuilderCreateImportSymbolBuilder ()
 Creates the Builder for the Symbol Importer. More...
 
NXOpen::Drawings::MarkAsTemplateBuilderCreateMarkAsTemplateBuilder ()
 Creates a NXOpen::Drawings::MarkAsTemplateBuilder. More...
 
NXOpen::Drawings::SheetZoneReferenceBuilderCreateSheetZoneReferenceBuilder ()
 Creates the Sheet Zone Reference builder. More...
 
void EnterDraftingApplication ()
 Enter the drafting application
Created in NX11.0.0. More...
 
void ExitDraftingApplication ()
 Exit the drafting application
Created in NX11.0.0. More...
 
bool GetTemplateInstantiationIsComplete ()
 Get the drawing template instantiation status. More...
 
bool IsCutObject (NXOpen::DisplayableObject *object)
 Is this object to be drawn as Cut? More...
 
void RestoreUnpastedObjects ()
 Restores unpasted cut objects to their original drawing state
This method is used by NX user interface to restore drafting objects that were cut but not pasted. More...
 
void RestoreUnpastedObjectsOfPart (NXOpen::Part *partOfUnpastedObject)
 Restores unpasted cut objects of the specified part to their original drawing state
Created in NX11.0.0. More...
 
NXOpen::Drawings::SectionLineCollectionSectionLines ()
 Section Line Collection
Created in NX6.0.0. More...
 
void SetDrawingLayout (bool setToDrawingLayout)
 Set a drafting layout
Created in NX11.0.0. More...
 
void SetTemplateInstantiationIsComplete (bool templateInstantiationStatus)
 Set the drawing template instantiation status
Created in NX8.0.0. More...
 
tag_t Tag () const
 Returns the tag of this object. More...
 
void VersionUpAllDraftingObjects ()
 Converts all older drafting objects (including member views) in the part to the latest version. More...
 
void VersionUpSelectedDraftingObjects (const std::vector< NXOpen::NXObject * > &draftingObjects)
 Converts selected drafting objects (including member views) in the part to the latest version. More...
 

Detailed Description

Represents an object that manages drafting objects and member views.


To obtain an instance of this class, refer to NXOpen::Part

Created in NX4.0.0.

Member Function Documentation

void NXOpen::DraftingManager::AddCutObject ( NXOpen::DisplayableObject object)

Identify object to be drawn as Cut in Drafting
Created in NX8.0.0.



License requirements : None

Parameters
objectobject
NXOpen::Drafting::AutomationManager* NXOpen::DraftingManager::AutomationManager ( )

Returns the NXOpen::Drafting::AutomationManager belonging to this session
Created in NX8.0.0.


NXOpen::Drawings::BordersAndZonesCollection* NXOpen::DraftingManager::BordersAndZonesObjects ( )

Borders and Zones Collection
Created in NX8.0.0.


NXOpen::Drawings::DrawingsPropertiesBuilder* NXOpen::DraftingManager::CreateDrawingsPropertiesBuilder ( const std::vector< NXOpen::DisplayableObject * > &  objects)

Create the DrawingsPropertiesBuilder.

Returns

Created in NX11.0.0.

License requirements : drafting ("DRAFTING")
Parameters
objectsthe array of part occurrences
NXOpen::Annotations::ImportAutocadBlockBuilder* NXOpen::DraftingManager::CreateImportAutocadBlockBuilder ( )

Creates the Builder for the AutoCAD Block Importer.

Returns

Created in NX8.0.0.

License requirements : nx_layout ("NX Layout")
NXOpen::Annotations::ImportSymbolBuilder* NXOpen::DraftingManager::CreateImportSymbolBuilder ( )

Creates the Builder for the Symbol Importer.

Returns

Created in NX7.5.0.

License requirements : nx_layout ("NX Layout")
NXOpen::Drawings::MarkAsTemplateBuilder* NXOpen::DraftingManager::CreateMarkAsTemplateBuilder ( )

Creates a NXOpen::Drawings::MarkAsTemplateBuilder.

Returns

Created in NX8.0.0.

License requirements : drafting ("DRAFTING")
NXOpen::Drawings::SheetZoneReferenceBuilder* NXOpen::DraftingManager::CreateSheetZoneReferenceBuilder ( )

Creates the Sheet Zone Reference builder.

Returns

Created in NX8.0.0.

License requirements : drafting ("DRAFTING")
void NXOpen::DraftingManager::EnterDraftingApplication ( )

Enter the drafting application
Created in NX11.0.0.



License requirements : None

void NXOpen::DraftingManager::ExitDraftingApplication ( )

Exit the drafting application
Created in NX11.0.0.



License requirements : None

bool NXOpen::DraftingManager::GetTemplateInstantiationIsComplete ( )

Get the drawing template instantiation status.

Returns

Created in NX8.0.0.

License requirements : None
bool NXOpen::DraftingManager::IsCutObject ( NXOpen::DisplayableObject object)

Is this object to be drawn as Cut?

Returns

Created in NX8.0.0.

License requirements : None
Parameters
objectobject
void NXOpen::DraftingManager::RestoreUnpastedObjects ( )

Restores unpasted cut objects to their original drawing state
This method is used by NX user interface to restore drafting objects that were cut but not pasted.

If called by an automation program, this method can cause unexpected results.

Created in NX8.0.0.

License requirements : None

void NXOpen::DraftingManager::RestoreUnpastedObjectsOfPart ( NXOpen::Part partOfUnpastedObject)

Restores unpasted cut objects of the specified part to their original drawing state
Created in NX11.0.0.



License requirements : None

Parameters
partOfUnpastedObjectpartofunpastedobject
NXOpen::Drawings::SectionLineCollection* NXOpen::DraftingManager::SectionLines ( )

Section Line Collection
Created in NX6.0.0.


void NXOpen::DraftingManager::SetDrawingLayout ( bool  setToDrawingLayout)

Set a drafting layout
Created in NX11.0.0.



License requirements : None

Parameters
setToDrawingLayouttrue for drafting drawing layout, false for drafting model layout
void NXOpen::DraftingManager::SetTemplateInstantiationIsComplete ( bool  templateInstantiationStatus)

Set the drawing template instantiation status
Created in NX8.0.0.



License requirements : drafting ("DRAFTING")

Parameters
templateInstantiationStatustemplateinstantiationstatus
tag_t NXOpen::DraftingManager::Tag ( ) const

Returns the tag of this object.

void NXOpen::DraftingManager::VersionUpAllDraftingObjects ( )

Converts all older drafting objects (including member views) in the part to the latest version.


Created in NX4.0.0.

License requirements : None

void NXOpen::DraftingManager::VersionUpSelectedDraftingObjects ( const std::vector< NXOpen::NXObject * > &  draftingObjects)

Converts selected drafting objects (including member views) in the part to the latest version.


Created in NX4.0.0.

License requirements : None

Parameters
draftingObjectsdrafting objects

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