CotaDocs

Reference

System variables

System variables store settings. Type the name of a variable in the command line to see its value and change it: Cota prints Enter new value for NAME <current>: and Enter keeps the current value. Most of them are saved with the drawing; the ones about the interface (mouse, backups) are saved with your preferences.

Command line
PDMODE 3
LTSCALE 10

Drawing and editing#

VariableValuesWhat it controls
POLARANGAngle in degrees, default 90The increment of polar tracking (F10): with 30, the cursor locks to 0°, 30°, 60°… from the base point.
OFFSETGAPTYPE0 extend, 1 fillet, 2 chamferHow OFFSET closes the gaps at the corners of a polyline offset outward.
PICKSTYLE1 groups, 0 single objectsWhether picking an object of a group selects the whole group. Ctrl+Shift+A toggles it.
PEDITACCEPT0 ask, 1 convertWhether PEDIT turns lines and arcs into polylines without asking.
SPLINETYPE5 quadratic, 6 cubicThe curve PEDIT ▸ Spline fits through a polyline.
SPLINESEGSNumber, default 8Segments per span of a spline-fit polyline: more is smoother.
PDMODE0 dot, 1 none, 2 plus, 3 cross, 4 tick; +32 circle, +64 squareThe look of point objects (POINT, DIVIDE, MEASURE). 35 = cross in a circle.
PDSIZE0 = 5 % of the view, negative = % of the view, positive = drawing unitsThe size of point objects.

Display and mouse#

VariableValuesWhat it controls
LWDISPLAYON / OFFWhether lineweights are shown in the model. Layouts always show them, and plots always use them.
ZOOMFACTOR3 to 100, default 60How much each step of the mouse wheel zooms.
ZOOMWHEEL0 forward zooms in, 1 forward zooms outThe direction of the mouse wheel.
RENDERMINPXPixels, default 3 (0 = off)Solids smaller than this on screen are drawn as a point, to keep huge models fluid.
SMOOTHANGLE0 to 90 degrees, default 12 (0 = faceted)Faces of a solid that meet at less than this angle are shaded as one smooth surface; 12° covers a 32-sided cylinder (11.25° per side). Facets of the same curved surface (a cylinder wall, a sphere, a fillet) are smoothed up to 30°. Also in OPTIONS › Display.
SOLIDKERNELOCCT (default) or MESHHow 3D solids are built (also in OPTIONS › Display). OCCT uses an exact B-rep kernel (OpenCascade, downloaded once, about 5 MB, the first time a drawing needs it): fillets, chamfers and booleans on curved faces come out exact, and a circle is one edge. Until its result arrives, each solid is shown as a quick sketch (without its new fillets, holes and booleans); with many solids several threads share the work, and the results are kept in the browser, so reopening a drawing or undoing does not compute them again. Whenever it cannot build a solid, the triangle mesh is shown; the command line says why. MESH uses only triangle meshes, as Cota did before 2.39. Saved with your preferences.
SOLIDIMPORT0 (default), 1 or 2What happens to the 3D solids of a DWG or DXF when you open it (also in OPTIONS › Display). 0 asks; 1 converts them all to exact solids right away, with a progress bar you can cancel; 2 opens them as meshes, quick to show even in large assemblies, and each piece becomes an exact solid when you select or edit it. Imported solids keep their model either way: snaps, mass properties and drawing views use its exact edges. Starts at 2 on a phone. Saved with your preferences.
SOLIDIDLE1 (default) or 0With 1, imported solids left as meshes are converted to exact solids in the background while you are not doing anything (2 seconds without keys, clicks, wheel or cursor movement, and no command running). Any action stops it, so it never slows down what you ask for; it resumes when things are quiet again. Also in OPTIONS › Display. Saved with your preferences.
SOLIDEXPORT1 (default) or 0With 1, EXPORT DWG and EXPORT DXF write 3D solids as ACIS solids (3DSOLID, REGION, BODY), so they open as solids in other CAD programs: imported pieces you have not changed keep their original model (moved, rotated or scaled ones too), and edited pieces and Cota's own solids are written from the exact kernel. A solid that cannot be written exactly goes as a mesh of its faces, and the command line says how many. With 0, every solid goes as a mesh of its faces, as before. Also in OPTIONS › Display. Saved with your preferences.

Saving#

VariableValuesWhat it controls
ISAVEBAK1 on, 0 offWhen saving to a working folder, keep the previous version as name.bak.
SAVETIMEMinutes, default 10 (0 = off)How often Cota writes a recovery copy name.sv$ in the working folder while the drawing has changes.

Coordinate systems#

VariableValuesWhat it controls
UCSORTHO1 on, 0 offWhether switching to an orthographic view (Top, Front, Left…) also sets the matching UCS, so you draw on the plane you see; the command line says so (UCS: Front …). Isometric views keep the UCS; UCS W returns to World.
UCSFOLLOW0 off, 1 onWhether changing the UCS also switches to its plan view.
UCSDETECT1 on, 0 offDynamic UCS: while a command asks for its first point, hovering a flat face of a solid places the UCS on that face.

Linetypes#

VariableValuesWhat it controls
LTSCALENumber, default 1Global scale of all linetype patterns. Use the inverse of the plot scale: 50 for a 1:50 drawing in model space.
CELTSCALENumber, default 1Linetype scale of new objects, multiplied by LTSCALE.
CELTYPEByLayer, ByBlock or a loaded linetypeLinetype of new objects.
PSLTSCALE1 on, 0 offIn layout viewports, linetypes keep their paper size whatever the viewport scale.
MSLTSCALE1 on, 0 offIn model space, linetypes are scaled by the annotation scale (CANNOSCALE).
PLINEGEN0 off, 1 onWhether the linetype pattern of new polylines runs continuously around their vertices.

Hatches#

VariableValuesWhat it controls
HPNAMEA pattern name, . for noneDefault pattern of new hatches (ANSI31 at first).
HPSCALENumber, default 1Default pattern scale.
HPANGDegrees, default 0Default pattern angle.
HPSPACEDrawing units, default 1Line spacing of user-defined hatches.
HPDOUBLE0 off, 1 onWhether user-defined hatches are crossed with a second set of lines at 90°.
HPASSOC1 on, 0 offWhether new hatches follow their boundary when it changes.
HPISLANDDETECTION0 Normal, 1 Outer, 2 IgnoreHow areas inside the boundary are treated: Normal alternates filled and empty, Outer fills only the outer ring, Ignore fills everything.
HPGAPTOLDrawing units, default 0Gaps up to this size in a boundary are closed by HATCH and BOUNDARY.

Annotation#

VariableValuesWhat it controls
CANNOSCALE1:1, 1:50, 1:100…The annotation scale of model space: annotative dimensions and texts keep their size on paper at this scale.
DIMASSOC2 associative, 1 notWhether new dimensions follow the geometry they measure.
DIMTEXTSIZEHeightShortcut to set the text height (DIMTXT) of new dimensions.

Dimension variables#

These variables are the settings of a dimension style. Typing one changes it for new dimensions (as an override of the current style, which Cota confirms: DIMTAD = Above (override of "IRAM 4513")); to change a style for good use DIMSTYLE, and to change existing dimensions use DIMOVERRIDE or Properties. The defaults depend on the style (Cota includes ISO and IRAM styles).

Lines and arrows

VariableValuesWhat it controls
DIMCLRDByLayer or #rrggbbColor of the dimension line.
DIMLWDByLayer or millimetersLineweight of the dimension line.
DIMDLELengthHow far the dimension line extends past the extension lines when the arrows are ticks.
DIMDLILengthSpacing between the dimension lines of DIMBASELINE (and of QDIM baseline).
DIMSD1On / Off (or 1 / 0)Hide the first half of the dimension line.
DIMSD2On / Off (or 1 / 0)Hide the second half of the dimension line.
DIMCLREByLayer or #rrggbbColor of the extension lines.
DIMLWEByLayer or millimetersLineweight of the extension lines.
DIMEXELengthHow far the extension lines go past the dimension line.
DIMEXOLengthGap between the object and the start of the extension lines.
DIMFXLONOn / Off (or 1 / 0)Extension lines of a fixed length (DIMFXL), measured from the dimension line.
DIMFXLLengthThe fixed length of extension lines when DIMFXLON is on.
DIMSE1On / Off (or 1 / 0)Hide the first extension line.
DIMSE2On / Off (or 1 / 0)Hide the second extension line.
DIMBLK1Arrowhead nameThe first arrowhead: Closed filled, Closed filled 4:1 (IRAM), Closed blank, Closed, Open, Open 30, Oblique, Architectural tick, Dot, Dot small, Dot blank, Dot small blank, Right angle, Box, Box filled, Datum triangle, Datum triangle filled, Integral or None.
DIMBLK2Arrowhead nameThe second arrowhead (names as in DIMBLK1).
DIMLDRBLKArrowhead nameThe arrowhead of leaders and multileaders.
DIMASZLengthSize of the arrowheads.
DIMCENLength; negative draws linesCenter marks of radius and diameter dimensions and DIMCENTER: positive a cross of that size, negative a cross and center lines, 0 none.
DIMARCSYM0 Preceding text, 1 Above text, 2 NoneWhere the arc symbol of arc length dimensions goes.
DIMJOGANGDegreesAngle of the jog of jogged radius dimensions.

Text

VariableValuesWhat it controls
DIMTXTHeightText height.
DIMCLRTByLayer or #rrggbbText color.
DIMTFILL0 None, 1 BackgroundWhether the text has an opaque background that hides lines behind it.
DIMGAPLength; negative draws a boxSpace between the text and the dimension line. A negative value frames the text (inspection style).
DIMTAD0 Centered, 1 Above, 2 Outside, 4 BelowVertical position of the text relative to the dimension line.
DIMJUST0 Centered, 1 At ext line 1, 2 At ext line 2, 3 Over ext line 1, 4 Over ext line 2Horizontal position of the text along the dimension line.
DIMTIHOn / Off (or 1 / 0)Text inside the extension lines always horizontal (instead of aligned with the dimension line).
DIMTOHOn / Off (or 1 / 0)Text outside the extension lines always horizontal.

Fit

VariableValuesWhat it controls
DIMATFIT3 Either text or arrows (best fit), 1 Arrows, 2 Text, 0 Both text and arrowsWhat moves outside the extension lines first when there is not enough room.
DIMTIXOn / Off (or 1 / 0)Always keep the text between the extension lines.
DIMSOXDOn / Off (or 1 / 0)Hide the arrows if they do not fit inside.
DIMTMOVE0 Beside the dimension line, 1 Over with leader, 2 Over without leaderWhere the text goes when you move it.
DIMTOFLOn / Off (or 1 / 0)Draw the dimension line between the extension lines even when the arrows are outside.
DIMSCALENumberOverall scale of all sizes of the style (text, arrows, gaps).

Primary units

VariableValuesWhat it controls
DIMLUNIT2 Decimal, 1 Scientific, 3 Engineering, 4 Architectural, 5 Fractional, 6 Windows desktopFormat of linear values.
DIMDECNumber of decimalsPrecision of linear values.
DIMDSEPA character, such as , or .Decimal separator.
DIMRNDLengthRounds values to this increment (0.5 rounds to the nearest half).
DIMPOSTText with <>Prefix and suffix around the value: <> mm, Ø<>.
DIMLFACNumberFactor applied to measured lengths (for details drawn at another scale; a dimension on a drawing view gets 1/scale of its view). It never scales tolerances (DIMTP, DIMTM) or DIMRND.
DIMZINSum of 4 (no leading zero) and 8 (no trailing zeros)Zero suppression: 8 shows 2,5 instead of 2,50.
DIMAUNIT0 Decimal degrees, 1 Degrees minutes seconds, 2 Gradians, 3 RadiansFormat of angles.
DIMADECNumber of decimalsPrecision of angles.
DIMAZINLike DIMZINZero suppression of angles.

Alternate units (a second value in brackets, for example millimeters and inches)

VariableValuesWhat it controls
DIMALTOn / Off (or 1 / 0)Show alternate units.
DIMALTFNumber, 0.0394 for mm to inchesMultiplier from primary to alternate units.
DIMALTDNumber of decimalsPrecision of alternate units.
DIMALTRNDLengthRounding of alternate units.
DIMAPOSTText with <>Prefix and suffix of alternate units.
DIMALTUAs DIMLUNITFormat of alternate units.
DIMALTZAs DIMZINZero suppression of alternate units.

Tolerances

VariableValuesWhat it controls
DIMTOLOn / Off (or 1 / 0)Show deviation tolerances after the value: 25 +0,1/−0,05.
DIMLIMOn / Off (or 1 / 0)Show limits instead: the upper and lower sizes stacked.
DIMTPNumberUpper deviation.
DIMTMNumberLower deviation.
DIMTDECNumber of decimalsPrecision of tolerances.
DIMTFACNumberHeight of the tolerance text relative to the value.
DIMTOLJ0 Bottom, 1 Middle, 2 TopVertical alignment of tolerances with the value.
DIMTZINAs DIMZINZero suppression of tolerances.

Example: dimensions with 1 decimal, a box around the value and the text above the line.

Command line
DIMDEC 1
DIMGAP -1
DIMTAD 1
DIMLINEAR 0,0 100,0 50,-10