Reference
Insert commands
Commands of the Insert menu: blocks, drawing views of the 3D model, layouts, fields and images.
INSERT#
Places a reference to a block defined in the drawing.
Aliases I, DDINSERT · Menu Insert
Steps
Block name [BOLT, NUT…] <BOLT>:the blocks of the drawing are listed.Specify insertion point:Enter X scale factor <1>:(also used for Z).Enter Y scale factor <use X scale factor>:Enter keeps the X factor.Specify rotation angle <0>:- If the block has attributes: with
ATTDIA= 1 (the default) the command line says so and the Edit Attributes dialog opens; withATTDIA= 0,Enter attribute valuesand one prompt per attribute.
Cota prints Inserted "NAME".
Example
RECTANGLE 0,0 @10,10
BLOCK L "" SQUARE 0,0
INSERT SQUARE 50,50 2 "" 45Notes
- Define blocks with BLOCK. Blocks from DWG and DXF files come with them; blocks copied in another drawing or tab come with PASTECLIP, and IMPORT turns a STEP, IGES, STL or OBJ model into a block.
- Block names are not case-sensitive:
INSERT nema17placesNEMA17. - A name the drawing does not define prints
Block "NAME" not found.and nothing is inserted (a reference without its definition would draw nothing). The name is asked even when the drawing has no blocks, so a script such asINSERT NEMA17 100,0 1 "" 0stops there instead of reading the point as a command. - Opening a drawing whose references point to blocks it does not define prints a warning with their names.
BEDIT#
Opens a block definition in the Block Editor: the drawing shows only the block, in its own coordinates, with its base point at 0,0,0. Every command works there as usual (draw, edit, object snaps, 3D, dimensions). A bar at the top of the view shows the block name with Save and Close.
Aliases BE · Menu Insert
Double-clicking a block without attributes opens it here.
Steps
- With a block selected (or after a double click) it opens that block. Otherwise:
Block to edit [BOLT, NUT…] <BOLT>:
Cota prints Block Editor: "NAME" (base point at 0,0,0). BSAVE saves it, BCLOSE closes the editor.
Example
BEDIT SQUARE
CIRCLE 5,5 2
BCLOSE SaveNotes
- While the editor is open the layout tabs stay on Model, and a block cannot be inserted into itself (directly or through another block).
- Undo works inside the editor. A block with attributes opens its attribute editor on double click; use
BEDITto change its geometry.
BSAVE#
Saves the block open in the Block Editor without closing it: every reference to it shows the change, and it becomes
the state that BCLOSE › Discard returns to.
Aliases none · Menu Insert
Cota prints Block "NAME" saved; all its references are updated.
BCLOSE#
Closes the Block Editor and returns to the model with the view it had before.
Aliases none · Menu Insert
Steps
- If there are unsaved changes:
Save changes to block "NAME"? [Save/Discard] <Save>:. Discard puts the block back as it was when it was opened or last saved.
NOTE#
Pastes a sticky note on the drawing: a paper note (yellow, violet, pink, green, blue or orange) with a folded corner, a close cross and text that resizes itself to fill the note. It lies on the working UCS like a rectangle, or on the face of a solid when the dynamic UCS is on.
Aliases STICKY · Menu Insert
Steps
Specify first corner or [Color] <yellow>:(Colorpicks the paper color for this and the next notes).Specify opposite corner:Note text (double-click the note later to edit it):
Example
NOTE 0,0 40,25 Check the chamfer before machiningNotes
- Double-click a note to edit its text on the note itself (Ctrl+Enter or clicking away accepts, Esc cancels). The cross closes it (undo brings it back).
- Select it to see its grips: the bottom-right corner resizes it and the text adjusts; dragging any other corner or midpoint draws a leader from there to the point you pick, with object snaps.
- Notes are kept in
.cotafiles only: DWG, DXF and PDF leave them out.
VIEWBASE#
Creates a base view of the 3D model on a layout, and then the views projected from it (front, top, side,
isometric). The views stay linked to the model: when the model changes, VIEWUPDATE brings them up to date.
Aliases none · Menu Insert › Drawing views
Steps
- Only from the model tab:
Select objects or [Entire model] <Entire model>:the solids to document; Enter orEntiredocuments the whole model. A pick that finds nothing (0 found) does not fall back to the whole model: Cota asks again. Run from a layout, VIEWBASE skips this step and always documents the entire model; to document some objects, start it from the model tab. - From the model tab:
Enter new or existing layout name to make current(where the views go). If there is nothing 3D to document, Cota saysNo 3D solids to document.and stays in the model. Specify location of base view or [Type/Orientation/Hidden lines/Scale] <Type>:click on the sheet.- With
Type= Base and Projected, move the cursor around the base view and click to place each projected view; Enter ends. To the sides or above/below it is an orthographic view; on a diagonal, an isometric one. A direction that already has a view is not repeated: a point off the axis on that side gives the isometric view of that corner.
Options
| Option | What it does |
|---|---|
Type | Select type [Base only/Base and Projected] <Base and Projected>: |
Orientation | Select orientation [...]: which side of the model the base view shows (front, top, left…). |
Hidden lines | Select style [Visible lines/visible and Hidden lines/Shaded with visible lines/Shaded with visible and hidden lines (SHidden)]. |
Scale | Enter scale <1:1>: for example 1:2, 2:1 or 0.5. |
Notes
- Projection is first-angle (ISO-E) or third-angle (ISO-A), as set with VIEWSTD.
- Dimension the views with AUTODIM or by hand; dimensions attach to the view geometry and measure in model units, whatever the scale of the view.
- VIEWBASE remembers the type, the hidden-line style and a typed scale for the next time in the session.
- Cancelling VIEWBASE before placing the base view leaves the drawing as it was (nothing to undo).
- When the model changes, each view keeps its place and scale on the sheet and only its content is updated: the model point at the center of the view stays put, so balloons and dimensions keep pointing at the same features.
VIEWPROJ#
Creates more projected views from an existing drawing view.
Aliases none · Menu Insert › Drawing views
Steps
- Select the parent view, then click where each projected view goes; Enter ends.
VIEWEDIT#
Changes a drawing view: its hidden lines and its scale.
Aliases none · Menu Insert › Drawing views
Steps
Select view:Select option [Hidden lines/Scale/eXit] <eXit>:
VIEWUPDATE#
Updates the drawing views that are out of date with the model.
Aliases none · Menu Insert › Drawing views
Steps
Select views to update or [All] <All>:
VIEWSTD#
Sets the projection standard of drawing views.
Aliases -VIEWSTD · Menu Insert › Drawing views
Steps
Projection type [First angle/Third angle] <First>:first angle (ISO-E, used in Europe and South America) or third angle (ISO-A, used in North America).
VIEWGEN#
Generates all the standard views of a part at once: choose them on a diagram of the unfolded box (front, top, bottom, left, right, back and isometric), in ISO-E or ISO-A.
Aliases none · Menu Insert › Drawing views
Steps
Select objects or [Entire model] <Entire model>:- A dialog shows the diagram: tick the views you want and the standard.
- On a layout,
Specify center of the views:places the set. From the model, the views go to a layout (as with VIEWBASE), or stay in the model as 2D blocks.
LAYOUT#
Creates, copies, deletes, renames, lists and activates layouts (the sheets you plot).
Aliases LO · Menu Insert › Layout
Steps
Enter layout option [Copy/Delete/New/Template/Rename/SAveas/Set/?] <set>:
Options
| Option | What it does |
|---|---|
New | Enter name of new layout <Layout2>: |
Copy | Copies a layout with its viewports and page setup (Enter layout name for copy). |
Delete | Deletes a layout. |
Rename | Enter name of layout to rename, then Enter new layout name:. |
Template | Creates a layout from a template file (Enter template file name). |
SAveas | Saves a layout as a template. |
Set | Enter layout to make current: |
? | Lists the layouts. |
Notes
- A double click on a layout tab renames it.
FIELD#
Inserts a field into a text: a value that updates on its own, such as the file name, the date, a drawing property, the layout name, the sheet number or the scale of a viewport. Title blocks use them.
Aliases none · Menu Insert › Fields
Steps
Field name [Filename/SaveDate/CreateDate/PlotDate/Author/Title/Subject/Keywords/LayoutName/SheetNumber/SheetCount/ViewportScale/CustomDP] <Filename>:- Options of the field:
Show extension? [Yes/No] <Yes>:for the file name,Date format <dd/MM/yyyy>:for dates,Custom property name:for custom drawing properties. Specify start point of text or [Object]:a new text with the field, orObjectandSelect text to add the field to:.
Notes
- Drawing properties (title, author…) are set in DWGPROPS. Custom property names are not
case-sensitive (
Company=company). ViewportScaleis the scale of the first viewport of the layout; on a sheet made with VIEWBASE (no viewport) it is the scale of its base drawing view.- Fields show
----when they have no value yet and####when they cannot be evaluated.
UPDATEFIELD#
Updates the fields of the selected objects now.
Aliases none · Menu Insert › Fields
Steps
Select objects:Cota prints how many fields it found and updated.
Notes
- An empty attribute whose default value is a field takes that field: this fills TITLE, DRAWN and COMPANY in title blocks made with an earlier version of Cota.
IMAGE#
Loads the picture files a drawing uses. A DXF or DWG stores only the path of its images; this command asks for the files so they show in the drawing.
Aliases IM · Menu Insert
Notes
- If the drawing has no images, Cota says so. You can also choose the pictures together with the drawing when you open it.