pltIMacro SetEditable

Sets whether the macro can be edited or not.

Syntax

pltIMacro_handle SetEditable editable

Application

Tcl Modify

Description

This command sets the macro to edit or not edit.

Inputs

editable
true
If you want to edit the macro.
false
If you do not want to edit the macro.

Example

hwi GetSessionHandle sess;
sess GetClientManagerHandle pm Plot;
pm GetMacroHandle mh 1;
mh SetEditable false;

Errors

Success (0) or an error message is returned.

Keywords

Tcl

Macro

Modify