NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::Tooling::ReusableObject Class Reference

Represents a NXOpen::Tooling::ReusableObject
To create a new instance of this class, use NXOpen::Tooling::ToolingManager::CreateReusableObject

Created in NX7.5.2. More...

Inheritance diagram for NXOpen::Tooling::ReusableObject:
NXOpen::TransientObject

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. More...
 
NXString DescriptiveName ()
 Returns the descriptive name
Created in NX7.5.2. More...
 
std::vector< NXOpen::NXObject * > GetObjects ()
 Gets the objects. More...
 
bool IsSavedInOriginalPart ()
 Returns a flag indicating whether this object is saved in original part
Created in NX7.5.2. More...
 
NXString ObjectGroupName ()
 Returns the name of the group of objects which are saved through UDO
Created in NX7.5.2. More...
 
NXString PartFile ()
 Returns the part file which owns this reusable object
Created in NX7.5.2. More...
 
NXString PreviewImageFile ()
 Returns the preview image file
Created in NX7.5.2. More...
 
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. More...
 
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. More...
 
void SetDescriptiveName (const NXString &descriptiveName)
 Sets the descriptive name
Created in NX7.5.2. More...
 
void SetDescriptiveName (const char *descriptiveName)
 Sets the descriptive name
Created in NX7.5.2. More...
 
void SetObjectGroupName (const NXString &groupName)
 Sets the name of the group of objects which are saved through UDO
Created in NX7.5.2. More...
 
void SetObjectGroupName (const char *groupName)
 Sets the name of the group of objects which are saved through UDO
Created in NX7.5.2. More...
 
void SetObjects (const std::vector< NXOpen::NXObject * > &objects)
 Sets the objects
Created in NX7.5.2. More...
 
void SetPartFile (const NXString &partFile)
 Sets the part file which owns this reusable object
Created in NX7.5.2. More...
 
void SetPartFile (const char *partFile)
 Sets the part file which owns this reusable object
Created in NX7.5.2. More...
 
void SetPreviewImageFile (const NXString &imageFile)
 Sets the preview image file
Created in NX7.5.2. More...
 
void SetPreviewImageFile (const char *imageFile)
 Sets the preview image file
Created in NX7.5.2. More...
 
void SetSavedInOriginalPart (bool saveInOriginalPart)
 Sets a flag indicating whether this object is saved in original part
Created in NX7.5.2. More...
 
virtual ~ReusableObject ()
 Dispose the part infomation to be cloned
Created in NX7.5.2. More...
 
- Public Member Functions inherited from NXOpen::TransientObject
void * GetHandle ()
 Handle of the internal object represented by this object. More...
 

Detailed Description

Represents a NXOpen::Tooling::ReusableObject
To create a new instance of this class, use NXOpen::Tooling::ToolingManager::CreateReusableObject

Created in NX7.5.2.


Constructor & Destructor Documentation

virtual NXOpen::Tooling::ReusableObject::~ReusableObject ( )
virtual

Dispose the part infomation to be cloned
Created in NX7.5.2.



License requirements : None

Member Function Documentation

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.

Returns

Created in NX7.5.2.

License requirements : None
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

Parameters
containerFilecontainerfile
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

Parameters
containerFilecontainerfile
void NXOpen::Tooling::ReusableObject::SetDescriptiveName ( const NXString descriptiveName)

Sets the descriptive name
Created in NX7.5.2.



License requirements : None

Parameters
descriptiveNamedescriptivename
void NXOpen::Tooling::ReusableObject::SetDescriptiveName ( const char *  descriptiveName)

Sets the descriptive name
Created in NX7.5.2.



License requirements : None

Parameters
descriptiveNamedescriptivename
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

Parameters
groupNamegroupname
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

Parameters
groupNamegroupname
void NXOpen::Tooling::ReusableObject::SetObjects ( const std::vector< NXOpen::NXObject * > &  objects)

Sets the objects
Created in NX7.5.2.



License requirements : None

Parameters
objectsobjects
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

Parameters
partFilepartfile
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

Parameters
partFilepartfile
void NXOpen::Tooling::ReusableObject::SetPreviewImageFile ( const NXString imageFile)

Sets the preview image file
Created in NX7.5.2.



License requirements : None

Parameters
imageFileimagefile
void NXOpen::Tooling::ReusableObject::SetPreviewImageFile ( const char *  imageFile)

Sets the preview image file
Created in NX7.5.2.



License requirements : None

Parameters
imageFileimagefile
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

Parameters
saveInOriginalPartsaveinoriginalpart

The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.