Python package
ra.panels
The open Artisan command panel: which one it is, and closing it without applying.
import rhinoartisan as ra
Wraps ArtisanPlugin.Scripting.PanelsApi.
Functions
| Function | |
|---|---|
active() | The command panel currently open (“Bail”, “Cutter”, “Basket”…), or None when none is. |
close() | Closes the open command panel WITHOUT applying it, like its X button: the live preview is discarded and objects hidden while editing come back. |
ra.panels.active()
ra.panels.active() -> str
The command panel currently open (“Bail”, “Cutter”, “Basket”…), or None when none is.
ra.panels.close()
ra.panels.close() -> str
Closes the open command panel WITHOUT applying it, like its X button: the live preview is discarded and objects hidden while editing come back. Returns the closed panel’s name, or None when none was open.