NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
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:
NXOpen.TransientObject NXOpen.Utilities.NXRemotableObject IDisposable IMessageSink

Public Member Functions

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...
 
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...
 
- Public Member Functions inherited from NXOpen.TransientObject
void Dispose ()
 Frees the object from memory. More...
 
void PrintTestData (String variableName)
 <exclude> More...
 
void PrintTestData (String variableName, int lineNumber)
 <exclude> More...
 
new string ToString ()
 Returns a String that represents the current Object. More...
 
- Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject
IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
 Asynchronously processes the given message. More...
 
IMessage SyncProcessMessage (IMessage msg)
 Synchronously processes the given message. More...
 

Protected Member Functions

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

Additional Inherited Members

- Properties inherited from NXOpen.TransientObject
IntPtr Handle [get]
 Handle of the internal object represented by this object. 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 
)
inline

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 
)
inline

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 ( )
inline

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 ( )
inlineprotectedvirtual

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.

Implements NXOpen.TransientObject.

unsafe string NXOpen.PDM.CAEFileContainer.GetOwningPart ( )
inline

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)
inline

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 2019 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.