PluginTool
The handle of a registered tool, which sets what it shows.
Properties
Section titled “Properties”
readonlyid:string
measurement
Section titled “measurement”measurement:
object
The measurement box’s label and value, such as { label: "Distance", value: "1.2 m" }.
readonlylabel:string
readonlyvalue:string
reference
Section titled “reference”reference:
Point3d|null
Where inference starts from, such as the first click of a line, in the coordinates of the
context being edited; null for none. Points then snap along the axes from it, and the
arrow keys lock those axes.
status
Section titled “status”status:
string
The status bar’s instruction, such as "Click a vertex to move it.".
Methods
Section titled “Methods”select()
Section titled “select()”select():
void
Selects the tool, as choosing it from the Extensions menu does, such as from a panel’s
button that starts placing what the panel set up. The tool changes once the plugin’s code
for this frame has run. Listeners, isEnabled, isChecked and draws that only read can’t
select tools. Needs the "toolSelection" feature.
Returns
Section titled “Returns”void