Reference
Tools commands
Commands of the Tools menu: measuring and inquiry, groups, isolating objects, draw order, coordinate systems, object snaps, settings, scripts and the modeling agent.
DIST#
Measures the distance and angles between two points.
Aliases DI · Menu Tools › Inquiry
Steps
Specify first point:andSpecify second point:snap to the geometry for exact results.
Cota prints, for example:
Distance = 50.0000, Angle in XY Plane = 36.87, Angle from XY Plane = 0.00
Delta X = 40.0000, Delta Y = 30.0000, Delta Z = 0.0000Example
DIST 0,0 40,30ID#
Shows the coordinates of a point in the current UCS.
Aliases none · Menu Tools › Inquiry
Steps
Specify point:Cota printsX = … Y = … Z = ….
Example
ID 25,40AREA#
Measures the area and perimeter of a region given by points, or of an object; keeps a running total when adding and subtracting areas.
Aliases AA · Menu Tools › Inquiry
Steps
Specify first corner point or [Object/Add area/Subtract area] <Object>:click the corners of the area one after the other and press Enter, or press Enter at once to pick an object.- Cota prints
Area = …, Perimeter = …(for a circle,Circumference).
Options
| Option | What it does |
|---|---|
Object | Select objects: the area of a circle, closed polyline, rectangle, ellipse, spline or hatch. |
Add area | Starts a running total. The prompts begin with (ADD mode); each area measured is added and Cota prints Total area = …. |
Subtract area | In (SUBTRACT mode) each area measured is subtracted from the total (for holes). Switch between adding and subtracting at any time; eXit (the default) ends. |
Example: a plate minus a hole.
RECTANGLE 0,0 @100,60
CIRCLE 50,30 10
AREA A O 0,30 "" S O 60,30 "" XLIST#
Lists the properties of the selected objects in the command line: type, layer, color, linetype, lineweight, points, lengths, radii, areas and volumes.
Aliases LI, LS · Menu Tools › Inquiry
Steps
Select objects:and Enter.
Notes
- Color, linetype and lineweight show the object's own value, or
ByLayerwith the value it takes from its layer in brackets:Color: ByLayer (Red) Linetype: ByLayer (CONTINUOUS) Lineweight: ByLayer (Default).
MASSPROP#
Mass properties of 3D solids (volume, mass with density 1, surface area, bounding box, centroid and, for exact solids, moments and products of inertia, radii of gyration and principal moments) and section properties of regions (area, perimeter, centroid, moments and product of inertia, radii of gyration and principal moments).
Aliases none · Menu Tools › Inquiry
Steps
Select objects:the solids and regions.
For solids, Cota prints:
---------------- SOLIDS ----------------
Mass: 12000.0000
Volume: 12000.0000
Surface area: 3200.0000
Bounding box: X: 0.0000 -- 20.0000
Y: 0.0000 -- 30.0000
Z: 0.0000 -- 20.0000
Centroid: X = 10.0000 Y = 15.0000 Z = 10.0000Example
BOX 0,0,0 @20,30 20
MASSPROP L ""The volume is exact for boxes, cylinders, cones, spheres and tori, and for solids the exact kernel has computed;
otherwise (and for the surface area and centroid) it comes from the solid's mesh. LIST shows the same volume.
For solids the exact kernel computes (imported solids included: MASSPROP converts them first), the volume and centroid
are exact and Cota also prints the moments and products of inertia and the radii of gyration in the current UCS, and
the principal moments with their directions about the centroid.
For each region, in the current UCS (a 100 × 50 rectangle):
---------------- REGIONS ----------------
Area: 5000.0000
Perimeter: 300.0000
Bounding box: X: 0.0000 -- 100.0000
Y: 0.0000 -- 50.0000
Centroid: X: 50.0000
Y: 25.0000
Moments of inertia: X: 4166666.6667
Y: 16666666.6667
Product of inertia: XY: 6250000.0000
Radii of gyration: X: 28.8675
Y: 57.7350
Principal moments and X-Y directions about centroid:
I: 1041666.6667 along [1.0000 0.0000]
J: 4166666.6667 along [0.0000 1.0000]- Moments of inertia are about the X and Y axes of the UCS (∫y² dA and ∫x² dA); the product of inertia is ∫xy dA. Radii of gyration are √(I/A).
- Principal moments are about the centroid: the smallest (I) and the largest (J), with the direction of each axis. They are the second moments of area of the section, the values used to check a beam's bending.
- Holes subtract, and arcs are exact.
Example: the section of a 100 × 50 plate with a hole of radius 10.
RECTANG 0,0 100,50
CIRCLE 50,25 10
REGION ALL ""
SUBTRACT 1,1 "" 60,25 ""
MASSPROP ALL ""Notes
- Multiply the volume by the density of the material to get the real mass.
- A region that is not parallel to the XY plane of the current UCS shows only its area and perimeter: set the UCS on
its plane (for example with
UCS›Object) to get the full section properties.
GROUP#
Groups objects so that they are selected together with one click, while each keeps its own properties.
Aliases G · Menu Tools › Groups
Steps
Select objects or [Name/Description]:the objects, then Enter. Without a name the group is unnamed:Unnamed group has been created (*A1).
Options
| Option | What it does |
|---|---|
Name | Enter a group name: gives the group a name of your own before selecting. |
Description | Enter group description: |
Notes
- Ctrl+Shift+A switches group selection on and off (
PICKSTYLE), to pick a single object inside a group. -GROUPdoes everything from the command line:Enter a group option [?/Add/Remove/Explode/REName/Selectable/Create] <Create>:to list, add or remove objects, explode, rename or make a group not selectable as a whole.
UNGROUP#
Breaks up a group; its objects stay as they are.
Aliases none · Menu Tools › Groups
Steps
Select group or [Name]:click an object of the group, orNameandEnter a group name:.
ISOLATEOBJECTS#
Temporarily hides everything except the selected objects, to work on them without clutter.
Aliases ISOLATE · Menu Tools › Isolate
Steps
Select objects:the objects to keep visible.
Notes
UNISOLATEOBJECTSshows everything again. The same options are in the right-click menu of a selection.
HIDEOBJECTS#
Temporarily hides the selected objects.
Aliases none · Menu Tools › Isolate
Steps
Select objects:the objects to hide.
UNISOLATEOBJECTS#
Shows again the objects hidden by ISOLATEOBJECTS or HIDEOBJECTS.
Aliases UNISOLATE · Menu Tools › Isolate
DRAWORDER#
Changes which objects are drawn on top of which: put a hatch behind its outline, a wipeout under a text, an image at the back.
Aliases DR · Menu Tools › Draw Order
Steps
Select objects:Enter object ordering option [Above objects/Under objects/Front/Back] <Back>:
Options
| Option | What it does |
|---|---|
Front / Back | In front of or behind everything. |
Above objects / Under objects | Select reference objects: just above or just below the objects you choose. |
Example
DRAWORDER L "" BTEXTTOFRONT#
Brings texts, dimensions or both in front of all other objects, so hatches and images never cover them.
Aliases none · Menu Tools › Draw Order
Steps
Bring to front [Text/Dimensions/Both] <Both>:Cota prints how many objects moved.
UCS#
Defines a user coordinate system: a new origin and orientation for typed coordinates, ORTHO, the grid and new objects. Use it to draw on a sloping face or to dimension from a datum.
Aliases none · Menu Tools › UCS
Steps
- Cota prints the current UCS (
Current ucs name: *WORLD*). Specify origin of UCS or [Face/NAmed/OBject/Previous/View/World/X/Y/Z/ZAxis] <World>:a point moves the origin; thenSpecify point on X-axis or <Accept>:andSpecify point on the XY plane or <Accept>:turn the axes (three-point UCS). Enter accepts at each step.
Options
| Option | What it does |
|---|---|
World | Back to the world coordinate system. |
Previous | The UCS used before. |
View | The XY plane facing you. |
Face | Select face of solid, surface, or mesh: the UCS lies on that face; Enter an option [Next/Xflip/Yflip] <accept>: adjusts it. |
OBject | Select object to align UCS: the UCS takes the orientation of that object. |
X / Y / Z | Specify rotation angle about X axis <90>: rotates the UCS about that axis. |
ZAxis | Specify new origin point or [Object] <0,0,0>: and Specify point on positive portion of Z-axis: an origin and the direction of Z. |
NAmed | Enter an option [Restore/Save/Delete/?]: saves the current UCS with a name, restores or deletes one, or lists them. |
Example: a UCS with its origin at a corner of the part, then back to World.
UCS 100,50 ""
UCS WNotes
- Dynamic UCS: while a drawing command waits for its first point, hovering a flat face of a solid puts the UCS on that face temporarily (the UCS button in the status bar).
UCSICONcontrols the icon;PLANlooks straight down the UCS.
OSNAP#
Opens the Object Snap settings: which snaps are running (always active) while you pick points. See object snaps.
Aliases OS, -OSNAP, DDOSNAP · Menu Tools
Notes
- F3 turns running snaps on and off. A snap name typed at a point prompt (
END,MID,CEN,INT,TAN,PER,NEA,QUA,NOD,EXT,PAR,INS,GCE,APPINT,M2P,FROM,NON…) applies to that point only. - On 3D solids the snaps use the real edges (Endpoint, Midpoint, Center and Quadrant of round edges, after
booleans and fillets too), and
ZCEN,ZPERandZNEAsnap to faces.
GRID#
Shows or hides the grid.
Aliases none · Menu Tools
Steps
Enter an option [ON/OFF] <OFF>:F7 does the same.
TOOLBAR#
Shows or hides toolbars, from a dialog with the list of the 23 toolbars. Toolbars can be docked on any edge or float; Cota remembers your layout.
Aliases TO, TBCONFIG · Menu Tools
OPTIONS#
Opens the settings dialog, with the tabs Display (theme and colors of the background, grid and crosshair), Open and Save, Drafting, Editing and User Preferences.
Aliases OP · Menu Tools
SCRIPT#
Runs several commands as one operation and one undo step: type or paste them, load a .scr file, or copy a link
that shares the script.
Aliases SCR · Menu Tools › Other
Notes
- The inputs answer the prompts in order, as if typed: separate them with spaces or new lines, write
""for an empty Enter and put text with spaces in double quotes. When a command ends, the next input starts another one. Every example on these reference pages is a script. - A quote inside a quoted text is kept when it is not followed by a space:
"Plug G 1/2""isPlug G 1/2". Write\"for a quote followed by a space:"1/2\" pipe". - If an input is rejected, the script stops there and says which one. A shared link only shows the script; it runs when you press Run.
- Pasting a script in the command line (Ctrl+V with nothing copied) runs it directly.
AGENT#
Opens or closes the modeling agent panel: a conversation with a language model, using your own API key, that runs Cota for you. Describe the part ("a 100 × 60 plate 10 thick with four Ø8 holes 10 mm from the corners") and the agent draws it with commands you can see and undo.
Aliases AGENTPANEL · Menu Tools › Other
Notes
- The key stays in your browser and is sent only to the provider you choose. See modeling agent and external agents.
- After each batch of commands the agent's work is checked for problems (zero sizes, invalid or empty solids, exact duplicates, sizes out of scale, objects on layers that are off or frozen, text of height 0). The warnings go back to the model, which fixes them, and appear in the panel under Geometry warnings.
- The agent can also call
check_geometry(the same checks on some objects, or on the whole current space) andmeasure(bounding box, length, area, surface and volume of objects, and their totals) to verify what it built before it answers.
COMPACT#
Summarizes the agent conversation to free its context. The drawing keeps everything already built.
Aliases none · Menu Tools › Other
AGENTBOX#
Limits what the modeling agent sees to boxes of the drawing: a window of two corners, or a box around the selected objects. It does not limit what the agent's commands do.
Aliases none · Menu Tools › Other
Steps
Agent context box: first corner or [Selected/List/Clear] <Selected>:Specify opposite corner:adds a box with those two corners.
Options
| Option | What it does |
|---|---|
Selected (default) | Adds a box around the selected objects; with objects already selected it takes them without asking. |
List | Shows the boxes of the open conversation. |
Clear | Removes them: the agent sees the whole drawing again. |
Example
AGENTBOX 0,0 500,300Notes
- The boxes belong to the open agent conversation (up to 8,
B1,B2…) and are saved with it. The view draws them as dashed outlines and the agent panel shows them as chips, with Limit to selection and Clear. - With boxes, the agent's drawing summary counts what is outside them, its object queries and pictures of the view stay inside them, and each batch lists only what it touched inside. Commands still reach the whole drawing (ALL, W, C).
- Only you can run it: the agent sets its own boxes with the
set_context_boxestool. It needs the drawing window (where the agent panel is). See context boxes.
PROMPT#
Asks the modeling agent: type what to model and the agent panel opens with your request written in its message box, ready to review and send. Press Enter with nothing typed to just open the panel.
Aliases AI · Menu Tools › Other
Notes
- It works like AGENT, with or without the optional server.
ATTSYNC#
Updates block references after their attribute definitions changed, keeping the values already filled in.
Aliases none · Menu Tools › Other
Steps
Enter an option [?/Name/Select] <Select>:?lists the blocks with attributes;NameasksEnter name of block to synchronize:;SelectasksSelect a block:.