NX Open C++ Reference Guide
|
This class is a File Container class for uploading JT files created by NX CAE Post Processing to Teamcenter. More...
Public Member Functions | |
void | AddFile (const NXString &datasetname, const NXString &filename) |
Add a file to the list of files in the file container class PDM::CAEFileContainer . | |
void | AddFile (const char *datasetname, const char *filename) |
Add a file to the list of files in the file container class PDM::CAEFileContainer . | |
void | DeleteFile (const NXString &datasetname, const NXString &filename) |
Delete a file from the list of files in the file container class PDM::CAEFileContainer . | |
void | DeleteFile (const char *datasetname, const char *filename) |
Delete a file from the list of files in the file container class PDM::CAEFileContainer . | |
void | DoUpload () |
Upload CAE files to Teamcenter, independent of a standard file->save. | |
NXString | GetOwningPart () |
Get the part tag of the owning part of the class PDM::CAEFileContainer . | |
void | SetOwningPart (const NXString &partspec) |
Sets the part tag of the owning part of the class PDM::CAEFileContainer . | |
void | SetOwningPart (const char *partspec) |
Sets the part tag of the owning part of the class PDM::CAEFileContainer . | |
virtual | ~CAEFileContainer () |
Free resources associated with the instance. | |
![]() | |
void * | GetHandle () |
Handle of the internal object represented by this object. | |
This class is a File Container class for uploading JT files created by NX CAE Post Processing to Teamcenter.
Users can add the JT file names and their corresponding dataset names to this container class. Once all the JT file names are added, this class can be used to upload the JT files to Teamcenter. The class can be used to upload only to a a single part at a time.
Use PDM::PdmSession to get the instance of this class.
Created in NX8.5.0.
|
virtual |
Free resources associated with the instance.
After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.
Created in NX8.5.0.
License requirements : None
void NXOpen::PDM::CAEFileContainer::AddFile | ( | const NXString & | datasetname, |
const NXString & | filename | ||
) |
Add a file to the list of files in the file container class PDM::CAEFileContainer .
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
datasetname | NOTE: The full Unicode character set is not supported for this parameter. |
filename | NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::PDM::CAEFileContainer::AddFile | ( | const char * | datasetname, |
const char * | filename | ||
) |
Add a file to the list of files in the file container class PDM::CAEFileContainer .
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
datasetname | NOTE: The full Unicode character set is not supported for this parameter. |
filename | NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::PDM::CAEFileContainer::DeleteFile | ( | const NXString & | datasetname, |
const NXString & | filename | ||
) |
Delete a file from the list of files in the file container class PDM::CAEFileContainer .
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
datasetname | NOTE: The full Unicode character set is not supported for this parameter. |
filename | NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::PDM::CAEFileContainer::DeleteFile | ( | const char * | datasetname, |
const char * | filename | ||
) |
Delete a file from the list of files in the file container class PDM::CAEFileContainer .
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
datasetname | NOTE: The full Unicode character set is not supported for this parameter. |
filename | NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::PDM::CAEFileContainer::DoUpload | ( | ) |
Upload CAE files to Teamcenter, independent of a standard file->save.
Upload all the files in the file container class @link PDM::CAEFileContainer PDM::CAEFileContainer@endlink using this function. The JT files should be present in the temporary directory of the system prior to calling this function.
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
NXString NXOpen::PDM::CAEFileContainer::GetOwningPart | ( | ) |
Get the part tag of the owning part of the class PDM::CAEFileContainer .
void NXOpen::PDM::CAEFileContainer::SetOwningPart | ( | const NXString & | partspec | ) |
Sets the part tag of the owning part of the class PDM::CAEFileContainer .
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
partspec | NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::PDM::CAEFileContainer::SetOwningPart | ( | const char * | partspec | ) |
Sets the part tag of the owning part of the class PDM::CAEFileContainer .
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
partspec | NOTE: The full Unicode character set is not supported for this parameter. |