NXOpen C++ Reference Guide
|
Represents the NcProgramSource class object. More...
Public Member Functions | |
NXOpen::SIM::NcProgram * | AddMainProgram (const NXString &channel, const NXString &file) |
Add a Main program to this source. More... | |
NXOpen::SIM::NcProgram * | AddMainProgram (const char *channel, const char *file) |
Add a Main program to this source. More... | |
NXOpen::SIM::NcProgram * | AddSubprogram (const NXString &file) |
Add a Subprogram to this source. More... | |
NXOpen::SIM::NcProgram * | AddSubprogram (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... | |
Represents the NcProgramSource class object.
This object is created by NX.
Created in NX12.0.1.
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 .
channel | The channel name |
file | The 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 .
channel | The channel name |
file | The file to be assigned |
NXOpen::SIM::NcProgram* NXOpen::SIM::NcProgramSource::AddSubprogram | ( | const NXString & | file | ) |
Add a Subprogram to this source.
file | The file to be assigned |
NXOpen::SIM::NcProgram* NXOpen::SIM::NcProgramSource::AddSubprogram | ( | const char * | file | ) |
Add a Subprogram to this source.
file | The file to be assigned |