NXOpen C++ Reference Guide
|
A manager to deal with all objects. More...
Static Public Member Functions | |
static PidManager * | GetPidManager (NXOpen::Session *owner) |
Returns the PidManager object for the running session which serves as the 'gateway' class for the application API. More... | |
A manager to deal with all objects.
To obtain an instance of this class, refer to NXOpen::Session
Created in NX11.0.1.
void NXOpen::PID::PidManager::ConvertUnassignedRunToNormalRun | ( | NXOpen::PLAS::Run * | run | ) |
Convert an unassigned run to normal one
Created in NX1847.0.0.
License requirements : nx_pid_design_author ("NX P and ID Design Author")
run | run |
NXOpen::PID::AutomaticTableBuilder* NXOpen::PID::PidManager::CreateAutomaticTableBuilder | ( | NXOpen::Part * | part, |
NXOpen::PID::AutomaticTable * | table | ||
) |
Creates a NXOpen::PID::AutomaticTableBuilder .
Created in NX1847.0.0.
License requirements : nx_pid_design_author ("NX P and ID Design Author")
part | the part that will own the object |
table | NXOpen::PID::AutomaticTable to be edited, if NULL then create a new one |
NXOpen::PID::BulkEditBuilder* NXOpen::PID::PidManager::CreateBulkEditBuilder | ( | NXOpen::Part * | part | ) |
Creates a NXOpen::PID::BulkEditBuilder
Created in NX11.0.1.
License requirements : nx_pid_design_author ("NX P and ID Design Author")
part | part |
NXOpen::PID::DesignContextBuilder* NXOpen::PID::PidManager::CreateDesignContextBuilder | ( | ) |
Creates a NXOpen::PID::DesignContextBuilder
Created in NX11.0.0.
License requirements : nx_pid_design_author ("NX P and ID Design Author")
NXOpen::PID::EquipmentBuilder* NXOpen::PID::PidManager::CreateEquipmentBuilder | ( | NXOpen::Part * | part, |
NXOpen::PID::Equipment * | equipment | ||
) |
Creates a NXOpen::PID::EquipmentBuilder .
Created in NX11.0.1.
License requirements : nx_pid_design_author ("NX P and ID Design Author")
part | the part that will own the object |
equipment | NXOpen::PID::Equipment to be edited, if NULL then create a new one |
NXOpen::PID::FileNewApplicationBuilder* NXOpen::PID::PidManager::CreateFilenewapplicationBuilder | ( | ) |
Creates a NXOpen::PID::FileNewApplicationBuilder
Created in NX11.0.0.
License requirements : nx_pid_design_author ("NX P and ID Design Author")
NXOpen::PID::FlowDirectionArrowBuilder* NXOpen::PID::PidManager::CreateFlowDirectionArrowBuilder | ( | NXOpen::Part * | part, |
NXOpen::PID::FlowDirectionArrow * | flowDirectionArrow | ||
) |
Creates a NXOpen::PID::FlowDirectionArrowBuilder .
Created in NX11.0.1.
License requirements : nx_pid_design_author ("NX P and ID Design Author")
part | part |
flowDirectionArrow | NXOpen::PID::FlowDirectionArrow to be edited, if NULL then create a new one |
NXOpen::PID::InstrumentationBuilder* NXOpen::PID::PidManager::CreateInstrumentationBuilder | ( | NXOpen::Part * | part, |
NXOpen::NXObject * | instrumentation | ||
) |
Creates a NXOpen::PID::InstrumentationBuilder .
Created in NX1847.0.0.
License requirements : nx_pid_design_author ("NX P and ID Design Author")
part | the part that will own the object |
instrumentation | NXOpen::PID::InstrumentationSymbol or NXOpen::PID::Instrumentation to be edited, if NULL then create a new one |
NXOpen::PID::LibraryAuthoringBuilder* NXOpen::PID::PidManager::CreateLibraryAuthoringBuilder | ( | NXOpen::Part * | part | ) |
Creates a NXOpen::PID::LibraryAuthoringBuilder .
Created in NX11.0.1.
License requirements : nx_pid_design_author ("NX P and ID Design Author")
part | the part that will own the object |
NXOpen::PID::OffSheetConnectorBuilder* NXOpen::PID::PidManager::CreateOffSheetConnectorBuilder | ( | NXOpen::Part * | part, |
NXOpen::PID::OffSheetConnector * | oscObject | ||
) |
Creates a NXOpen::PID::OffSheetConnectorBuilder .
Created in NX11.0.1.
License requirements : nx_pid_design_author ("NX P and ID Design Author")
part | the part that will own the object |
oscObject | Diagramming::Annotation to be edited, if NULL then create a new one |
NXOpen::PID::PipeBuilder* NXOpen::PID::PidManager::CreatePipeBuilder | ( | NXOpen::Part * | part, |
NXOpen::PID::Pipe * | pipe | ||
) |
Creates a NXOpen::PID::PipeBuilder .
Created in NX11.0.1.
License requirements : nx_pid_design_author ("NX P and ID Design Author")
part | the part that will own the object |
pipe | Diagramming::Connection to be edited, if NULL then create a new one |
NXOpen::PID::PortEquipmentBuilder* NXOpen::PID::PidManager::CreatePortEquipmentBuilder | ( | NXOpen::Part * | part, |
NXOpen::PID::PortEquipment * | portEquipment | ||
) |
Creates a NXOpen::PID::PortEquipmentBuilder .
Created in NX11.0.1.
License requirements : nx_pid_design_author ("NX P and ID Design Author")
part | the part that will own the object |
portEquipment | NXOpen::PID::PortEquipment to be edited, if NULL then create a new one |
NXOpen::PID::PreferencesBuilder* NXOpen::PID::PidManager::CreatePreferencesBuilder | ( | NXOpen::Part * | part, |
NXOpen::PID::Sheet * | sheet | ||
) |
Creates a NXOpen::PID::PreferencesBuilder .
Created in NX11.0.1.
License requirements : nx_pid_design_author ("NX P and ID Design Author")
part | the part that will own the object |
sheet | sheet |
NXOpen::PID::SheetTemplateBuilder* NXOpen::PID::PidManager::CreateSheetTemplateBuilder | ( | NXOpen::Part * | part, |
NXOpen::Diagramming::Sheet * | sheet | ||
) |
Creates a NXOpen::PID::SheetTemplateBuilder
Created in NX11.0.0.
License requirements : nx_pid_design_author ("NX P and ID Design Author")
part | the part that will own the object |
sheet | sheet |
void NXOpen::PID::PidManager::DeleteSheetElements | ( | const std::vector< NXOpen::Diagramming::SheetElement * > & | sheetElementsDel | ) |
Delete Sheet Elements.
Created in NX11.0.1.
License requirements : nx_pid_design_author ("NX P and ID Design Author")
sheetElementsDel | Sheet Elements to be checked |
void NXOpen::PID::PidManager::EnterLibraryAuthoring | ( | ) |
Enter Library Authoring Tool.
Created in NX11.0.1.
License requirements : nx_pid_design_author ("NX P and ID Design Author")
void NXOpen::PID::PidManager::ExitLibraryAuthoring | ( | ) |
Exit Library Authoring Tool.
Created in NX11.0.1.
License requirements : nx_pid_design_author ("NX P and ID Design Author")
void NXOpen::PID::PidManager::ExportRunManaged | ( | const std::vector< NXOpen::NXObject * > & | runTags, |
const NXString & | destination | ||
) |
Exports NXOpen::PDM::ElementGroup
Created in NX12.0.0.
License requirements : nx_pid_design_author ("NX P and ID Design Author")
runTags | The runs to be exported |
destination | The destination folder |
void NXOpen::PID::PidManager::ExportRunManaged | ( | const std::vector< NXOpen::NXObject * > & | runTags, |
const char * | destination | ||
) |
Exports NXOpen::PDM::ElementGroup
Created in NX12.0.0.
License requirements : nx_pid_design_author ("NX P and ID Design Author")
runTags | The runs to be exported |
destination | The destination folder |
void NXOpen::PID::PidManager::ExportRunNative | ( | const std::vector< NXOpen::NXObject * > & | runTags, |
const NXString & | destination | ||
) |
Exports NXOpen::PDM::ElementGroup
Created in NX12.0.0.
License requirements : nx_pid_design_author ("NX P and ID Design Author")
runTags | The runs to be exported |
destination | The destination folder |
void NXOpen::PID::PidManager::ExportRunNative | ( | const std::vector< NXOpen::NXObject * > & | runTags, |
const char * | destination | ||
) |
Exports NXOpen::PDM::ElementGroup
Created in NX12.0.0.
License requirements : nx_pid_design_author ("NX P and ID Design Author")
runTags | The runs to be exported |
destination | The destination folder |
|
static |
Returns the PidManager object for the running session which serves as the 'gateway' class for the application API.
References to all other objects in this API are obtained either directly or indirectly via methods and properties on this class. Platform Session should be initialized using 'GetSession' method from NXOpen API prior to this call.
void NXOpen::PID::PidManager::LoadSystem | ( | NXOpen::Assemblies::Partition * | system | ) |
Loads a NXOpen::Assemblies::Partition
Created in NX11.0.0.
License requirements : nx_pid_design_author ("NX P and ID Design Author")
system | system |
void NXOpen::PID::PidManager::OpenSheet | ( | NXOpen::PID::Sheet * | sheet | ) |
Opens a NXOpen::PID::Sheet
Created in NX11.0.0.
License requirements : nx_pid_design_author ("NX P and ID Design Author")
sheet | sheet |
void NXOpen::PID::PidManager::OpenSheetQuietly | ( | NXOpen::PID::Sheet * | sheet | ) |
Opens a NXOpen::PID::Sheet without displaying the sheet.
Created in NX12.0.0.
License requirements : nx_pid_design_author ("NX P and ID Design Author")
sheet | sheet |
NXOpen::PDM::OrderedElementGroup* NXOpen::PID::PidManager::ReparentBranch | ( | NXOpen::PLAS::Run * | sourceRun, |
NXOpen::PLAS::Run * | destinationRun, | ||
NXOpen::PDM::OrderedElementGroup * | oldbranch | ||
) |
Moves branch from one run to another.
the original branch will be destroyed
Created in NX1847.0.0.
License requirements : nx_pid_design_author ("NX P and ID Design Author")
sourceRun | sourcerun |
destinationRun | destinationrun |
oldbranch | oldbranch |
tag_t NXOpen::PID::PidManager::Tag | ( | ) | const |
Returns the tag of this object.