Add a menu under Third-party palette and companyName tool set.
{| class="wikitable_c"
| ! Tool Type !! Constant |
|---|
| Regular External Tool |
| style="text-align:center" |
| - |
| VectorScript Tool (.vst) |
| style="text-align:center" |
| - |
| VectorScript Object (.vso) |
| style="text-align:center" |
| - |
| Custom Parametric |
| style="text-align:center" |
| } |
Note: The Custom Parametric tool type includes SDK objects of type Point, Line, Box, 2D Path, and 3D Path.
PROCEDURE wsEditAddTool(
toolName : STRING;
toolType : INTEGER);def vs.wsEditAddTool(toolName, toolType):
return None| Name | Type | Description |
|---|---|---|
| toolName | STRING | |
| toolType | INTEGER |
As of Vectorworks 2018 SP2, this function takes an integer parameter toolType to specify the type of tool being added. Vectorworks 2018 prior to SP2 will only take a single parameter as input.
Availability: from Vectorworks 2018
- Workspaces