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