NX Open C++ Reference Guide
|
Represents the NX Manager session
To obtain an instance of this class, refer to Session
Created in NX7.5.0.
More...
Public Member Functions | |
NXOpen::PDM::AttributeGroupDescriptionCollection * | AttributeGroupDescriptions () |
Returns a collection of PDM::AttributeGroupDescription objects representing attribute group types. | |
NXOpen::PDM::PartOperationBuilder * | CreateOperationBuilder (NXOpen::PDM::PartOperationBuilder::OperationType operation) |
Returns a new PDM::PartOperationBuilder object. | |
void | GetTcserverSettings (NXString *connectString, NXString *discriminator) |
Returns the connect string and discriminator used by NX session to connect to the Tcserver. | |
NXOpen::PDM::CAEFileContainer * | NewCaeFileContainer () |
Returns a new PDM::CAEFileContainer object. | |
NXOpen::PDM::FileManagement * | NewFileManagement () |
Returns a new PDM::FileManagement object. | |
void | SetDefaultFolder (const NXString &defaultFolderSpec) |
Sets default folder Created in NX7.5.0. | |
void | SetDefaultFolder (const char *defaultFolderSpec) |
Sets default folder Created in NX7.5.0. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents the NX Manager session
To obtain an instance of this class, refer to Session
Created in NX7.5.0.
NXOpen::PDM::AttributeGroupDescriptionCollection* NXOpen::PDM::PdmSession::AttributeGroupDescriptions | ( | ) |
Returns a collection of PDM::AttributeGroupDescription objects representing attribute group types.
The collection contains attribute group descriptions for PDM::IAttributeGroupOwner objects loaded within the NX session. Use the PDM::IAttributeGroupOwner::GetAttributeGroupDescriptions to get the specific attribute group descriptions for an attribute group owner.
Created in NX9.0.0.
NXOpen::PDM::PartOperationBuilder* NXOpen::PDM::PdmSession::CreateOperationBuilder | ( | NXOpen::PDM::PartOperationBuilder::OperationType | operation | ) |
Returns a new PDM::PartOperationBuilder object.
operation | operation |
void NXOpen::PDM::PdmSession::GetTcserverSettings | ( | NXString * | connectString, |
NXString * | discriminator | ||
) |
Returns the connect string and discriminator used by NX session to connect to the Tcserver.
The client applications can use these settings to connect to the same Tcserver that NX is using. Tcserver connect string: The connect string is path of the server hosting the services. The connect string for the different transport protocols will be in the following form: 4-Tier(HTTP mode): similar to http: 2-Tier(IIOP mode): The Tcserver IOR string Discriminator: The discriminator is a unique identifier and contains unique information related to a given TC server. This unique identifier (discriminator) is recognized by TC pool manager as the session number that ties the server process to the client. The discriminator functionality is part of the SOA package. The discriminator allows multiple clients to connect to the same TC server. In 2-Tier(IIOP mode), the discriminator will be an empty string. To connect to the same Tcserver as NX, the client can create a Teamcenter::Soa::Client::Connection object using the connect string and then use the Teamcenter::Services::Core::SessionService to login to Teamcenter Server with the discriminator and the connection object. More information about connecting to the Teamcenter server can be found in the TC SOA API Documentation.
Created in NX7.5.0.
License requirements : None
connectString | the connection string |
discriminator | the discriminator |
NXOpen::PDM::CAEFileContainer* NXOpen::PDM::PdmSession::NewCaeFileContainer | ( | ) |
Returns a new PDM::CAEFileContainer object.
NXOpen::PDM::FileManagement* NXOpen::PDM::PdmSession::NewFileManagement | ( | ) |
Returns a new PDM::FileManagement object.
void NXOpen::PDM::PdmSession::SetDefaultFolder | ( | const NXString & | defaultFolderSpec | ) |
Sets default folder
Created in NX7.5.0.
License requirements : None
defaultFolderSpec | Default folder path including default folder name to be set |
void NXOpen::PDM::PdmSession::SetDefaultFolder | ( | const char * | defaultFolderSpec | ) |
Sets default folder
Created in NX7.5.0.
License requirements : None
defaultFolderSpec | Default folder path including default folder name to be set |
tag_t NXOpen::PDM::PdmSession::Tag | ( | ) | const |
Returns the tag of this object.