NXOpen C++ Reference Guide
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
NXOpen::SIM::NcProgramSource Class Reference

Represents the NcProgramSource class object. More...

Inheritance diagram for NXOpen::SIM::NcProgramSource:
NXOpen::TaggedObject

Public Member Functions

NXOpen::SIM::NcProgramAddMainProgram (const NXString &channel, const NXString &file)
 Add a Main program to this source. More...
 
NXOpen::SIM::NcProgramAddMainProgram (const char *channel, const char *file)
 Add a Main program to this source. More...
 
NXOpen::SIM::NcProgramAddSubprogram (const NXString &file)
 Add a Subprogram to this source. More...
 
NXOpen::SIM::NcProgramAddSubprogram (const char *file)
 Add a Subprogram to this source. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents the NcProgramSource class object.


This object is created by NX.

Created in NX12.0.1.

Member Function Documentation

NXOpen::SIM::NcProgram* NXOpen::SIM::NcProgramSource::AddMainProgram ( const NXString channel,
const NXString file 
)

Add a Main program to this source.

This is only allowed on the External File Source. This can be requested with SIM::NcProgramManagerBuilder::GetExternalFileSource .

Returns
The added program.
Created in NX12.0.1.

License requirements : ug_isv_full ("Full functionality for Integrated Simulation and Verification")
Parameters
channelThe channel name
fileThe file to be assigned
NXOpen::SIM::NcProgram* NXOpen::SIM::NcProgramSource::AddMainProgram ( const char *  channel,
const char *  file 
)

Add a Main program to this source.

This is only allowed on the External File Source. This can be requested with SIM::NcProgramManagerBuilder::GetExternalFileSource .

Returns
The added program.
Created in NX12.0.1.

License requirements : ug_isv_full ("Full functionality for Integrated Simulation and Verification")
Parameters
channelThe channel name
fileThe file to be assigned
NXOpen::SIM::NcProgram* NXOpen::SIM::NcProgramSource::AddSubprogram ( const NXString file)

Add a Subprogram to this source.

Returns
The added program.
Created in NX12.0.1.

License requirements : ug_isv_full ("Full functionality for Integrated Simulation and Verification")
Parameters
fileThe file to be assigned
NXOpen::SIM::NcProgram* NXOpen::SIM::NcProgramSource::AddSubprogram ( const char *  file)

Add a Subprogram to this source.

Returns
The added program.
Created in NX12.0.1.

License requirements : ug_isv_full ("Full functionality for Integrated Simulation and Verification")
Parameters
fileThe file to be assigned

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