NX Open C++ Reference Guide
|
Represents a Tooling::ReusableObject
To create a new instance of this class, use Tooling::ToolingManager::CreateReusableObject
Created in NX7.5.2.
More...
Public Member Functions | |
NXString | ContainerFile () |
Returns the file which contains the reusable objects, could be part file or XML file Created in NX7.5.2. | |
NXString | DescriptiveName () |
Returns the descriptive name Created in NX7.5.2. | |
std::vector< NXOpen::NXObject * > | GetObjects () |
Gets the objects. | |
bool | IsSavedInOriginalPart () |
Returns a flag indicating whether this object is saved in original part Created in NX7.5.2. | |
NXString | ObjectGroupName () |
Returns the name of the group of objects which are saved through UDO Created in NX7.5.2. | |
NXString | PartFile () |
Returns the part file which owns this reusable object Created in NX7.5.2. | |
NXString | PreviewImageFile () |
Returns the preview image file Created in NX7.5.2. | |
void | SetContainerFile (const NXString &containerFile) |
Sets the file which contains the reusable objects, could be part file or XML file Created in NX7.5.2. | |
void | SetContainerFile (const char *containerFile) |
Sets the file which contains the reusable objects, could be part file or XML file Created in NX7.5.2. | |
void | SetDescriptiveName (const NXString &descriptiveName) |
Sets the descriptive name Created in NX7.5.2. | |
void | SetDescriptiveName (const char *descriptiveName) |
Sets the descriptive name Created in NX7.5.2. | |
void | SetObjectGroupName (const NXString &groupName) |
Sets the name of the group of objects which are saved through UDO Created in NX7.5.2. | |
void | SetObjectGroupName (const char *groupName) |
Sets the name of the group of objects which are saved through UDO Created in NX7.5.2. | |
void | SetObjects (const std::vector< NXOpen::NXObject * > &objects) |
Sets the objects Created in NX7.5.2. | |
void | SetPartFile (const NXString &partFile) |
Sets the part file which owns this reusable object Created in NX7.5.2. | |
void | SetPartFile (const char *partFile) |
Sets the part file which owns this reusable object Created in NX7.5.2. | |
void | SetPreviewImageFile (const NXString &imageFile) |
Sets the preview image file Created in NX7.5.2. | |
void | SetPreviewImageFile (const char *imageFile) |
Sets the preview image file Created in NX7.5.2. | |
void | SetSavedInOriginalPart (bool saveInOriginalPart) |
Sets a flag indicating whether this object is saved in original part Created in NX7.5.2. | |
virtual | ~ReusableObject () |
Dispose the part infomation to be cloned Created in NX7.5.2. | |
![]() | |
void * | GetHandle () |
Handle of the internal object represented by this object. | |
Represents a Tooling::ReusableObject
To create a new instance of this class, use Tooling::ToolingManager::CreateReusableObject
Created in NX7.5.2.
|
virtual |
Dispose the part infomation to be cloned
Created in NX7.5.2.
License requirements : None
NXString NXOpen::Tooling::ReusableObject::ContainerFile | ( | ) |
Returns the file which contains the reusable objects, could be part file or XML file
Created in NX7.5.2.
License requirements : None
NXString NXOpen::Tooling::ReusableObject::DescriptiveName | ( | ) |
Returns the descriptive name
Created in NX7.5.2.
License requirements : None
std::vector<NXOpen::NXObject *> NXOpen::Tooling::ReusableObject::GetObjects | ( | ) |
Gets the objects.
bool NXOpen::Tooling::ReusableObject::IsSavedInOriginalPart | ( | ) |
Returns a flag indicating whether this object is saved in original part
Created in NX7.5.2.
License requirements : None
NXString NXOpen::Tooling::ReusableObject::ObjectGroupName | ( | ) |
Returns the name of the group of objects which are saved through UDO
Created in NX7.5.2.
License requirements : None
NXString NXOpen::Tooling::ReusableObject::PartFile | ( | ) |
Returns the part file which owns this reusable object
Created in NX7.5.2.
License requirements : None
NXString NXOpen::Tooling::ReusableObject::PreviewImageFile | ( | ) |
Returns the preview image file
Created in NX7.5.2.
License requirements : None
void NXOpen::Tooling::ReusableObject::SetContainerFile | ( | const NXString & | containerFile | ) |
Sets the file which contains the reusable objects, could be part file or XML file
Created in NX7.5.2.
License requirements : None
containerFile | containerfile |
void NXOpen::Tooling::ReusableObject::SetContainerFile | ( | const char * | containerFile | ) |
Sets the file which contains the reusable objects, could be part file or XML file
Created in NX7.5.2.
License requirements : None
containerFile | containerfile |
void NXOpen::Tooling::ReusableObject::SetDescriptiveName | ( | const NXString & | descriptiveName | ) |
Sets the descriptive name
Created in NX7.5.2.
License requirements : None
descriptiveName | descriptivename |
void NXOpen::Tooling::ReusableObject::SetDescriptiveName | ( | const char * | descriptiveName | ) |
Sets the descriptive name
Created in NX7.5.2.
License requirements : None
descriptiveName | descriptivename |
void NXOpen::Tooling::ReusableObject::SetObjectGroupName | ( | const NXString & | groupName | ) |
Sets the name of the group of objects which are saved through UDO
Created in NX7.5.2.
License requirements : None
groupName | groupname |
void NXOpen::Tooling::ReusableObject::SetObjectGroupName | ( | const char * | groupName | ) |
Sets the name of the group of objects which are saved through UDO
Created in NX7.5.2.
License requirements : None
groupName | groupname |
void NXOpen::Tooling::ReusableObject::SetObjects | ( | const std::vector< NXOpen::NXObject * > & | objects | ) |
Sets the objects
Created in NX7.5.2.
License requirements : None
objects | objects |
void NXOpen::Tooling::ReusableObject::SetPartFile | ( | const NXString & | partFile | ) |
Sets the part file which owns this reusable object
Created in NX7.5.2.
License requirements : None
partFile | partfile |
void NXOpen::Tooling::ReusableObject::SetPartFile | ( | const char * | partFile | ) |
Sets the part file which owns this reusable object
Created in NX7.5.2.
License requirements : None
partFile | partfile |
void NXOpen::Tooling::ReusableObject::SetPreviewImageFile | ( | const NXString & | imageFile | ) |
Sets the preview image file
Created in NX7.5.2.
License requirements : None
imageFile | imagefile |
void NXOpen::Tooling::ReusableObject::SetPreviewImageFile | ( | const char * | imageFile | ) |
Sets the preview image file
Created in NX7.5.2.
License requirements : None
imageFile | imagefile |
void NXOpen::Tooling::ReusableObject::SetSavedInOriginalPart | ( | bool | saveInOriginalPart | ) |
Sets a flag indicating whether this object is saved in original part
Created in NX7.5.2.
License requirements : None
saveInOriginalPart | saveinoriginalpart |