Interface IPrograms
Gives access to programs.
Namespace: TopSolid.Cam.NC.Kernel.Automating
Assembly: TopSolid.Cam.NC.Kernel.Automating.dll
Syntax
[ServiceContract]
[AvailableSinceVersion(7, 11, 300, 180)]
public interface IPrograms
Methods
| Name | Description |
|---|---|
| GetComment(ElementId) | Get program comment. |
| GetEnding(ElementId) | Get program ending. |
| GetFileName(ElementId) | Get program file name. |
| GetHeader(ElementId) | Get program header. |
| GetName(ElementId) | Get program name. |
| GetProgram(ElementExId) | Gets the NC program from the given operation. |
| GetPrograms(DocumentId) | Get the list of NC programs in the document. |
| IsProgram(ElementId) | Tells whether an element is a program. |
| SetComment(ElementId, SmartText) | Set program comment. |
| SetEnding(ElementId, SmartText) | Set program ending. |
| SetFileName(ElementId, SmartText) | Set program file name. |
| SetHeader(ElementId, SmartText) | Set program header. |
| SetName(ElementId, string, out string) | Set program name. |