NXOpen C++ Reference Guide
|
This class serves as a gateway to part-specific tools for NX Manager mode. More...
Classes | |
struct | CheckinInput |
Reservation check-in input struct. More... | |
struct | CheckoutInput |
Reservation check-out input struct. More... | |
Public Member Functions | |
void | AssignPermanentName (const NXString &newFileName) |
Assign a permanent name to the temporary part Created in NX7.5.0. More... | |
void | AssignPermanentName (const char *newFileName) |
Assign a permanent name to the temporary part Created in NX7.5.0. More... | |
NXOpen::PDM::OperationErrors * | CheckinParts (const std::vector< NXOpen::BasePart * > &partsToCheckIn, const NXOpen::PDM::PdmPart::CheckinInput &checkInInput) |
Given an array of parts, check in the parts. More... | |
void | Checkout () |
Checkout the part Created in NX6.0.0. More... | |
NXOpen::PDM::OperationErrors * | CheckoutParts (const std::vector< NXOpen::BasePart * > &partsToCheckOut, const NXOpen::PDM::PdmPart::CheckoutInput &checkOutInput) |
Given an array of parts, check out the parts. More... | |
void | GetCheckedoutStatusAndUser (bool *isCheckedOut, NXString *checkedOutBy) |
Returns Checked out status of part and Checked out by. More... | |
void | GetOwnerAndGroup (NXString *owner, NXString *group) |
Returns owner and group for part. More... | |
std::vector< NXString > | GetProjects () |
Returns the assigned project names array. More... | |
NXString | GetReleaseStatus () |
Returns release status of part. More... | |
bool | IsModifiable () |
Returns true if the part is modifiable. More... | |
std::vector< NXString > | ListNonMasters (const NXString &nonMasterFileType) |
Given a part, get the names of the non-master types. More... | |
std::vector< NXString > | ListNonMasters (const char *nonMasterFileType) |
Given a part, get the names of the non-master types. More... | |
NXOpen::PDM::AlternateIdManager * | NewAlternateIdManager () |
Create an instance of a NXOpen::PDM::AlternateIdManager class that will be used to create alternate ID information on the part. More... | |
NXOpen::PDM::DatabaseAttributeManager * | NewDatabaseAttributeManager () |
Create an instance of a NXOpen::PDM::DatabaseAttributeManager class that will be used to modify database attributes of the part. More... | |
void | PublishHdImagesForModelViews (int imageWidth, int imageHight) |
Publish high-definition images for disclosed model views in the input displayed part. More... | |
void | SetDefaultFolderForPart () |
Set default folder for the part in which it is to be saved Created in NX7.5.0. More... | |
void | SetPreciseStructureOnSave (const std::vector< NXOpen::BasePart * > &partsToSetPreciseOnSave) |
Given an array of parts, Parts to set precise structure on save. More... | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
This class serves as a gateway to part-specific tools for NX Manager mode.
To obtain an instance of this class, refer to NXOpen::BasePart
Created in NX4.0.0.
void NXOpen::PDM::PdmPart::AssignPermanentName | ( | const NXString & | newFileName | ) |
Assign a permanent name to the temporary part
Created in NX7.5.0.
License requirements : None
newFileName | name of new part file to create |
void NXOpen::PDM::PdmPart::AssignPermanentName | ( | const char * | newFileName | ) |
Assign a permanent name to the temporary part
Created in NX7.5.0.
License requirements : None
newFileName | name of new part file to create |
NXOpen::PDM::OperationErrors* NXOpen::PDM::PdmPart::CheckinParts | ( | const std::vector< NXOpen::BasePart * > & | partsToCheckIn, |
const NXOpen::PDM::PdmPart::CheckinInput & | checkInInput | ||
) |
Given an array of parts, check in the parts.
partsToCheckIn | Array of parts to check in |
checkInInput | Input which control the check in behavior |
void NXOpen::PDM::PdmPart::Checkout | ( | ) |
Checkout the part
Created in NX6.0.0.
License requirements : None
NXOpen::PDM::OperationErrors* NXOpen::PDM::PdmPart::CheckoutParts | ( | const std::vector< NXOpen::BasePart * > & | partsToCheckOut, |
const NXOpen::PDM::PdmPart::CheckoutInput & | checkOutInput | ||
) |
Given an array of parts, check out the parts.
partsToCheckOut | Array of parts to check out |
checkOutInput | Input which control the check out behavior |
void NXOpen::PDM::PdmPart::GetCheckedoutStatusAndUser | ( | bool * | isCheckedOut, |
NXString * | checkedOutBy | ||
) |
Returns Checked out status of part and Checked out by.
Created in NX12.0.2.
License requirements : None
isCheckedOut | Checked out status of given part |
checkedOutBy | Checked out by user |
Returns owner and group for part.
Loads value from Teamcenter if not available with NX.
Created in NX1847.0.0.
License requirements : None
owner | owner |
group | group |
std::vector<NXString> NXOpen::PDM::PdmPart::GetProjects | ( | ) |
Returns the assigned project names array.
Project names information is retrieved from Teamcenter. Loads value from Teamcenter if not available with NX.
Created in NX1847.0.0.
License requirements : None
NXString NXOpen::PDM::PdmPart::GetReleaseStatus | ( | ) |
Returns release status of part.
Loads value from Teamcenter if not available with NX.
Created in NX1847.0.0.
License requirements : None
bool NXOpen::PDM::PdmPart::IsModifiable | ( | ) |
Returns true if the part is modifiable.
Created in NX1847.0.0.
License requirements : None
Given a part, get the names of the non-master types.
nonMasterFileType | nonmasterfiletype |
std::vector<NXString> NXOpen::PDM::PdmPart::ListNonMasters | ( | const char * | nonMasterFileType | ) |
Given a part, get the names of the non-master types.
nonMasterFileType | nonmasterfiletype |
NXOpen::PDM::AlternateIdManager* NXOpen::PDM::PdmPart::NewAlternateIdManager | ( | ) |
Create an instance of a NXOpen::PDM::AlternateIdManager class that will be used to create alternate ID information on the part.
NXOpen::PDM::DatabaseAttributeManager* NXOpen::PDM::PdmPart::NewDatabaseAttributeManager | ( | ) |
Create an instance of a NXOpen::PDM::DatabaseAttributeManager class that will be used to modify database attributes of the part.
void NXOpen::PDM::PdmPart::PublishHdImagesForModelViews | ( | int | imageWidth, |
int | imageHight | ||
) |
Publish high-definition images for disclosed model views in the input displayed part.
Created in NX12.0.1.
License requirements : None
imageWidth | imagewidth |
imageHight | imagehight |
void NXOpen::PDM::PdmPart::SetDefaultFolderForPart | ( | ) |
Set default folder for the part in which it is to be saved
Created in NX7.5.0.
License requirements : None
void NXOpen::PDM::PdmPart::SetPreciseStructureOnSave | ( | const std::vector< NXOpen::BasePart * > & | partsToSetPreciseOnSave | ) |
Given an array of parts, Parts to set precise structure on save.
Created in NX12.0.0.
License requirements : None
partsToSetPreciseOnSave | Array of parts to set precise structure on save |
tag_t NXOpen::PDM::PdmPart::Tag | ( | ) | const |
Returns the tag of this object.