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

Public Member Functions

unsafe NXOpen.SIM.NcProgram AddMainProgram (string channel, string file)
 Add a Main program to this source. More...
 
unsafe NXOpen.SIM.NcProgram AddSubprogram (string file)
 Add a Subprogram to this source. More...
 
unsafe NXOpen.SIM.NcProgram CreateMainProgram (string channel, string fileName)
 Create an empty Main program in this source. More...
 
unsafe bool DeleteProgram (NXOpen.SIM.NcProgram program)
 Delete a program in this source. More...
 
unsafe NXOpen.SIM.NcProgram GetMainProgram (string channel)
 Get main program for channel. More...
 
- Public Member Functions inherited from NXOpen.TaggedObject
void PrintTestData (String variableName)
 <exclude> More...
 
void PrintTestData (String variableName, int lineNumber)
 <exclude> More...
 
override 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...
 

Additional Inherited Members

- Protected Member Functions inherited from NXOpen.TaggedObject
new void initialize ()
 <exclude> More...
 
- Properties inherited from NXOpen.TaggedObject
Tag Tag [get]
 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

unsafe NXOpen.SIM.NcProgram NXOpen.SIM.NcProgramSource.AddMainProgram ( string  channel,
string  file 
)
inline

Add a Main program to this source.

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

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
Returns
The added program.
unsafe NXOpen.SIM.NcProgram NXOpen.SIM.NcProgramSource.AddSubprogram ( string  file)
inline

Add a Subprogram to this source.

Created in NX12.0.1

License requirements: ug_isv_full ("Full functionality for Integrated Simulation and Verification")

Parameters
fileThe file to be assigned
Returns
The added program.
unsafe NXOpen.SIM.NcProgram NXOpen.SIM.NcProgramSource.CreateMainProgram ( string  channel,
string  fileName 
)
inline

Create an empty Main program in this source.

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

Created in NX1872.0.0

License requirements: ug_isv_full ("Full functionality for Integrated Simulation and Verification")

Parameters
channelThe channel name
fileNameThe filename of the program
Returns
The created program.
unsafe bool NXOpen.SIM.NcProgramSource.DeleteProgram ( NXOpen.SIM.NcProgram  program)
inline

Delete a program in this source.

Created in NX1872.0.0

License requirements: ug_isv_full ("Full functionality for Integrated Simulation and Verification")

Parameters
programThe program to delete.
Returns
unsafe NXOpen.SIM.NcProgram NXOpen.SIM.NcProgramSource.GetMainProgram ( string  channel)
inline

Get main program for channel.

Created in NX1872.0.0

License requirements: ug_isv_full ("Full functionality for Integrated Simulation and Verification")

Parameters
channelThe channel name
Returns
The returned main program.

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