ptSetCurrentPen() 函数
- Last UpdatedSep 24, 2024
- 1 minute read
在脚本中,ptSetCurrentPen() 函数可用于通过指定的编号来选择笔以控制笔轴。
类别
笔趋势
语法
ptSetCurrentPen(TrendName, PenNum);
参数
TrendName
趋势的名称。必须是字符串常量或消息标记。
PenNum
要指定为当前趋势笔的笔的编号 (1-16)。
示例
ptSetCurrentPen() 函数将 2 号笔指定为 PumpPress 趋势当前的笔。
ptSetCurrentPen("PumpPress",2);