NX Open C++ Reference Guide
|
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::AutomationManager * | AutomationManager () |
Returns the NXOpen::Drafting::AutomationManager belonging to this session Created in NX8.0.0. More... | |
NXOpen::Drawings::BordersAndZonesCollection * | BordersAndZonesObjects () |
Borders and Zones Collection Created in NX8.0.0. More... | |
NXOpen::Drawings::DrawingsPropertiesBuilder * | CreateDrawingsPropertiesBuilder (const std::vector< NXOpen::DisplayableObject * > &objects) |
Create the DrawingsPropertiesBuilder. More... | |
NXOpen::Annotations::ImportAutocadBlockBuilder * | CreateImportAutocadBlockBuilder () |
Creates the Builder for the AutoCAD Block Importer. More... | |
NXOpen::Annotations::ImportSymbolBuilder * | CreateImportSymbolBuilder () |
Creates the Builder for the Symbol Importer. More... | |
NXOpen::Drawings::MarkAsTemplateBuilder * | CreateMarkAsTemplateBuilder () |
Creates a NXOpen::Drawings::MarkAsTemplateBuilder. More... | |
NXOpen::Drawings::SheetZoneReferenceBuilder * | CreateSheetZoneReferenceBuilder () |
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::SectionLineCollection * | SectionLines () |
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... | |
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.
void NXOpen::DraftingManager::AddCutObject | ( | NXOpen::DisplayableObject * | object | ) |
Identify object to be drawn as Cut in Drafting
Created in NX8.0.0.
License requirements : None
object | object |
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.
objects | the array of part occurrences |
NXOpen::Annotations::ImportAutocadBlockBuilder* NXOpen::DraftingManager::CreateImportAutocadBlockBuilder | ( | ) |
Creates the Builder for the AutoCAD Block Importer.
NXOpen::Annotations::ImportSymbolBuilder* NXOpen::DraftingManager::CreateImportSymbolBuilder | ( | ) |
Creates the Builder for the Symbol Importer.
NXOpen::Drawings::MarkAsTemplateBuilder* NXOpen::DraftingManager::CreateMarkAsTemplateBuilder | ( | ) |
Creates a NXOpen::Drawings::MarkAsTemplateBuilder.
NXOpen::Drawings::SheetZoneReferenceBuilder* NXOpen::DraftingManager::CreateSheetZoneReferenceBuilder | ( | ) |
Creates the Sheet Zone Reference builder.
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.
bool NXOpen::DraftingManager::IsCutObject | ( | NXOpen::DisplayableObject * | object | ) |
Is this object to be drawn as Cut?
object | object |
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
partOfUnpastedObject | partofunpastedobject |
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
setToDrawingLayout | true 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")
templateInstantiationStatus | templateinstantiationstatus |
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
draftingObjects | drafting objects |