NXOpen .NET Reference  12.0.0
Public Member Functions | Protected Member Functions | List of all members
NXOpen.PDM.CAEFileContainer Class Reference

This class is a File Container class for uploading JT files created by NX CAE Post Processing to Teamcenter. More...

Inheritance diagram for NXOpen.PDM.CAEFileContainer:

Public Member Functions

unsafe string GetOwningPart ()
 Get the part tag of the owning part of the class NXOpen.PDM.CAEFileContainer . More...
 
unsafe void SetOwningPart (string partspec)
 Sets the part tag of the owning part of the class NXOpen.PDM.CAEFileContainer . More...
 
unsafe void AddFile (string datasetname, string filename)
 Add a file to the list of files in the file container class NXOpen.PDM.CAEFileContainer . More...
 
unsafe void DeleteFile (string datasetname, string filename)
 Delete a file from the list of files in the file container class NXOpen.PDM.CAEFileContainer . More...
 
unsafe void DoUpload ()
 Upload CAE files to Teamcenter, independent of a standard file->save. More...
 

Protected Member Functions

override void FreeResource ()
 Free resources associated with the instance. More...
 

Detailed Description

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

Member Function Documentation

unsafe void NXOpen.PDM.CAEFileContainer.AddFile ( string  datasetname,
string  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")

Parameters
datasetname
filename
unsafe void NXOpen.PDM.CAEFileContainer.DeleteFile ( string  datasetname,
string  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")

Parameters
datasetname
filename
unsafe 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")

override void NXOpen.PDM.CAEFileContainer.FreeResource ( )
protected

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.

unsafe string NXOpen.PDM.CAEFileContainer.GetOwningPart ( )

Get 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")

Returns
unsafe void NXOpen.PDM.CAEFileContainer.SetOwningPart ( string  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")

Parameters
partspec

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