Method SetComment
SetComment(ElementId, SmartText)
Set program comment.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 11, 300, 180)]
void SetComment(ElementId inProgramId, SmartText inComment)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inProgramId | Identifier of the NC program to modify. |
| SmartText | inComment | Program comment. |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.