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 NXOpen::PDM::CAEFileContainer . More... | |
void | AddFile (const char *datasetname, const char *filename) |
Add a file to the list of files in the file container class NXOpen::PDM::CAEFileContainer . More... | |
void | DeleteFile (const NXString &datasetname, const NXString &filename) |
Delete a file from the list of files in the file container class NXOpen::PDM::CAEFileContainer . More... | |
void | DeleteFile (const char *datasetname, const char *filename) |
Delete a file from the list of files in the file container class NXOpen::PDM::CAEFileContainer . More... | |
void | DoUpload () |
Upload CAE files to Teamcenter, independent of a standard file->save. More... | |
NXString | GetOwningPart () |
Get the part tag of the owning part of the class NXOpen::PDM::CAEFileContainer . More... | |
void | SetOwningPart (const NXString &partspec) |
Sets the part tag of the owning part of the class NXOpen::PDM::CAEFileContainer . More... | |
void | SetOwningPart (const char *partspec) |
Sets the part tag of the owning part of the class NXOpen::PDM::CAEFileContainer . More... | |
virtual | ~CAEFileContainer () |
Free resources associated with the instance. More... | |
Public Member Functions inherited from NXOpen::TransientObject | |
void * | GetHandle () |
Handle of the internal object represented by this object. More... | |
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 NXOpen::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 NXOpen::PDM::CAEFileContainer .
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
datasetname | datasetname |
filename | filename |
void NXOpen::PDM::CAEFileContainer::AddFile | ( | const char * | datasetname, |
const char * | filename | ||
) |
Add a file to the list of files in the file container class NXOpen::PDM::CAEFileContainer .
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
datasetname | datasetname |
filename | filename |
void NXOpen::PDM::CAEFileContainer::DeleteFile | ( | const NXString & | datasetname, |
const NXString & | filename | ||
) |
Delete a file from the list of files in the file container class NXOpen::PDM::CAEFileContainer .
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
datasetname | datasetname |
filename | filename |
void NXOpen::PDM::CAEFileContainer::DeleteFile | ( | const char * | datasetname, |
const char * | filename | ||
) |
Delete a file from the list of files in the file container class NXOpen::PDM::CAEFileContainer .
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
datasetname | datasetname |
filename | filename |
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 NXOpen::PDM::CAEFileContainer 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 NXOpen::PDM::CAEFileContainer .
void NXOpen::PDM::CAEFileContainer::SetOwningPart | ( | const NXString & | partspec | ) |
Sets the part tag of the owning part of the class NXOpen::PDM::CAEFileContainer .
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
partspec | partspec |
void NXOpen::PDM::CAEFileContainer::SetOwningPart | ( | const char * | partspec | ) |
Sets the part tag of the owning part of the class NXOpen::PDM::CAEFileContainer .
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
partspec | partspec |