NX Open C++ Reference Guide
|
This class is used for the Machine Library Dialog. More...
Public Member Functions | |
void | EditMachineLibrary (const NXString &machineName, const NXString &attName, const NXString &value) |
Edit a specific machine of the database. More... | |
void | EditMachineLibrary (const char *machineName, const char *attName, const char *value) |
Edit a specific machine of the database. More... | |
std::vector< NXString > | GetAllAttributeNames () |
Returns a array of the library attributes. More... | |
std::vector< NXString > | GetAllMachineNames () |
Returns a array of the machine names(librefs) that are in the machine database. More... | |
NXString | GetValue (const NXString &machineName, const NXString &attName) |
Returns the attribute value of a specific machine. More... | |
NXString | GetValue (const char *machineName, const char *attName) |
Returns the attribute value of a specific machine. More... | |
NXString | InsertEntryToMachineLibrary (const NXString &selectedMachineName) |
Insert a machine entry to the machine_database.dat. More... | |
NXString | InsertEntryToMachineLibrary (const char *selectedMachineName) |
Insert a machine entry to the machine_database.dat. More... | |
void | RemoveEntryFromMachineLibrary (const NXString &machineName) |
Removes a machine entry from the machine_database.dat. More... | |
void | RemoveEntryFromMachineLibrary (const char *machineName) |
Removes a machine entry from the machine_database.dat. More... | |
Public Member Functions inherited from NXOpen::Builder | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. More... | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. More... | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. More... | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. More... | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. More... | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. More... | |
Public Member Functions inherited from NXOpen::TaggedObject | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
This class is used for the Machine Library Dialog.
Calling Builder::Commit on this builder will only return NULL.
Use the Part class to create a MachineLibraryBuilder object.
Created in NX10.0.2.
void NXOpen::SIM::MachineLibraryBuilder::EditMachineLibrary | ( | const NXString & | machineName, |
const NXString & | attName, | ||
const NXString & | value | ||
) |
Edit a specific machine of the database.
That will write the machine_database.dat.
Created in NX10.0.2.
License requirements : ug_isv_full ("Full functionality for Integrated Simulation and Verification") OR nx_isv_mtb ("Machine Tool Builder")
machineName | machine name (libref) |
attName | library attribute name |
value | the new value that will be set |
void NXOpen::SIM::MachineLibraryBuilder::EditMachineLibrary | ( | const char * | machineName, |
const char * | attName, | ||
const char * | value | ||
) |
Edit a specific machine of the database.
That will write the machine_database.dat.
Created in NX10.0.2.
License requirements : ug_isv_full ("Full functionality for Integrated Simulation and Verification") OR nx_isv_mtb ("Machine Tool Builder")
machineName | machine name (libref) |
attName | library attribute name |
value | the new value that will be set |
std::vector<NXString> NXOpen::SIM::MachineLibraryBuilder::GetAllAttributeNames | ( | ) |
Returns a array of the library attributes.
This function allocates the memory for attributeNames. The caller is responsible to deallocate the memory.
std::vector<NXString> NXOpen::SIM::MachineLibraryBuilder::GetAllMachineNames | ( | ) |
Returns a array of the machine names(librefs) that are in the machine database.
This function allocates the memory for machineNames. The caller is responsible to deallocate the memory.
NXString NXOpen::SIM::MachineLibraryBuilder::GetValue | ( | const NXString & | machineName, |
const NXString & | attName | ||
) |
Returns the attribute value of a specific machine.
machineName | machine name (libref) |
attName | library attribute name |
NXString NXOpen::SIM::MachineLibraryBuilder::GetValue | ( | const char * | machineName, |
const char * | attName | ||
) |
Returns the attribute value of a specific machine.
machineName | machine name (libref) |
attName | library attribute name |
NXString NXOpen::SIM::MachineLibraryBuilder::InsertEntryToMachineLibrary | ( | const NXString & | selectedMachineName | ) |
Insert a machine entry to the machine_database.dat.
The libref is the name of the machine entry, that is copied, the libref appended by a count and the new entry is put in the list as next entry. If the libref is empty, a default entry is add to the bottom of the list.
selectedMachineName | machine name (libref), that will copied |
NXString NXOpen::SIM::MachineLibraryBuilder::InsertEntryToMachineLibrary | ( | const char * | selectedMachineName | ) |
Insert a machine entry to the machine_database.dat.
The libref is the name of the machine entry, that is copied, the libref appended by a count and the new entry is put in the list as next entry. If the libref is empty, a default entry is add to the bottom of the list.
selectedMachineName | machine name (libref), that will copied |
void NXOpen::SIM::MachineLibraryBuilder::RemoveEntryFromMachineLibrary | ( | const NXString & | machineName | ) |
Removes a machine entry from the machine_database.dat.
The libref is the name of the machine entry, that will reomved from the Library.
Created in NX10.0.3.
License requirements : ug_isv_full ("Full functionality for Integrated Simulation and Verification") OR nx_isv_mtb ("Machine Tool Builder")
machineName | machine name (libref) |
void NXOpen::SIM::MachineLibraryBuilder::RemoveEntryFromMachineLibrary | ( | const char * | machineName | ) |
Removes a machine entry from the machine_database.dat.
The libref is the name of the machine entry, that will reomved from the Library.
Created in NX10.0.3.
License requirements : ug_isv_full ("Full functionality for Integrated Simulation and Verification") OR nx_isv_mtb ("Machine Tool Builder")
machineName | machine name (libref) |