Method SetName
SetName(ElementId, string, out string)
Set program name.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 11, 300, 180)]
void SetName(ElementId inProgramId, string inName, out string outError)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inProgramId | Identifier of the NC program to modify. |
| string | inName | Program name. |
| string | outError | Error message, or null if name is allowed. |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.