How to create a parametric drawing in AutoCAD


All commands of this functionality are in the Parameterization menu.

The term parameterization means that the dimensions of 2D objects are set in the form of parameters that can have values, including in the form of a formula containing other parameters.

Consider a simple example of creating a rectangle in which one side will always be twice as large as the other.

First, use the _line command to create an arbitrary rectangle.

Next, we impose geometric dependencies on individual elements of our drawing (lines, points) by choosing the corresponding item in the Parameterization menu.

In particular, we use the coincidence between the points of the lines and the perpendicularity between the three lines, as well as the horizontalness of one of the horizontal lines of the rectangle.

We set the dimensional dependencies by choosing the appropriate menu item Parameterization.

We will choose one size horizontal and the other vertical values ​​will be left by default. Next, change the values ​​of the size parameters by double-clicking on the corresponding size. The value of the vertical dimension parameter d2 is set to 200, and the horizontal parameter size d1 is set in the form of the formula d2 * 2. Now, when d2 (vertical size) changes, the d1 parameter (horizontal size) will automatically change and will always be twice as large.

How to create and manage a group of objects in AutoCAD.

A group in AutoCAD is a named and saved set of objects. The user can select and edit both the entire group and its individual objects. Groups are useful for managing multiple graphical objects in a consistent manner. You can create them quickly by assigning them default names.
Groups are useful for linking 3D bodies when you do not want to join them using a Boolean operation.

You can add or exclude items from a group at any time.

To some extent, groups resemble blocks, which also combine objects with a name, but in a slightly different way. For example, groups can be saved for use in future work sessions. The difference is that the user can edit individual objects in a group, whereas when working with blocks, you must first break the block into individual elements. Unlike blocks, groups cannot be used in other drawings.

When creating a group, objects are selected, its name and description are specified.

When you create a group, you specify its name and description.

When you copy a group, the new copy is named Ax by default; the new group is considered unnamed. Unnamed groups are not listed in the object Groups dialog box unless the Include unnamed option is selected.

If you select at least one element of the selected group, all its elements are included in the new group.

An object can belong to more than one group at a time, and a group can belong to other groups. You can Ungroup nested groups to restore the original group configurations.

When you use a drawing as an xref or insert block, named groups within the drawing are not available. However, the user can embed and then dismember an xref or block, after which the groups are made available as unnamed groups.

To create a group, you must type in the command line _GROUP, if you type-GROUP command parameters are displayed.

When group selection is enabled, groups can be moved, copied, rotated, and edited in the same way as individual objects. To edit an individual object in a group, turn off the group selection mode or use the handles on the object.

In some cases, it is useful to control the order in which objects belonging to the same group are selected. For example, a user program that defines toolpaths for numerical control may depend on a number of adjacent objects in a specified order.

Reordering elements can be done in two ways: either change the order of the individual elements (either one or more), or change the order of all elements. The numbering of group objects starts with 0, not 1.

How to quickly change the properties of selected objects to Layer values

In AutoCAD, you can use the layer COMMAND to change the specified properties (color, line type, etc.) of selected objects to Layer values. The values of the by Block parameter for objects can also be changed to Layer values. Objects whose properties are not set to Layer do not display layer property overrides set by the viewport.

To specify which properties are changed to Bylayer values in the team settings ASTROLOY after running the command via command line you have to press the right mouse button and select in the context menu setting.

How to set units in AutoCAD

As such, there are no units in AutoCAD, there are conventional units and each user himself implies the necessary dimension of these conventional units (mm, cm, m, inch, foot) when creating objects in the AutoCAD document.

However, you might want to insert objects from one document into another document, and document users created objects in them in different unit conventions (for example, one in millimeters of the other in inches). For the correct result when inserting objects from such documents it is necessary to perform scaling. The scale value depends on the physical meaning of the conventional unit of measurement, and it is set in the Format menu item Units.

In the insert Scale drop-down list, select the units in which objects are created in the current document.

The user can himself at any time pre-scale objects to the required units using the SCALE command (_scale). The magnitude of the scale depends on what units of measurement in which you want to convert. For example, to convert from millimeters to inches, the scale factor would be 0.03937.

You can also use the-DWGUNITS command to adjust the units and scale to the selected units.

How to print a drawing from AutoCAD to a jpg file

When working on drawings in AutoCAD, it is sometimes necessary to transfer these drawings in raster format (for example, jpg). Consider the option of how to do it.

Let’s say we have a drawing in Model space that needs to be translated into JPG format. To do this, select Print from the File menu.

In the window that appears, in the Printer/plotter group Name drop-down list, select the desired file format in which to «print» in this case JPG (or PDF, PNG, etc.). Next, in the Format drop-down list, select the resolution of the image that most clearly displays the contents of the drawing (depending on the size of the drawing).

Next on the list of What to print, select the Frame and select the dimensions of the drawing to be translated to JPG or print. After clicking OK, the program prompts you to specify the location and name of the file to be created. If you have questions you can ask in the comments.

How to quickly select the desired objects in a drawing or 3D Assembly in AutoCAD

In complex Assembly drawings or 3D assemblies in AutoCAD, it becomes difficult to select the desired objects among many others for editing. To solve this problem, the useful AutoCAD function «Quick select» helps to start it, you must click on the button on the Properties palette.




Next, a window will open in which the conditions are set by which AutoCAD will select the desired objects among the set in the editor.

You can search the entire document or in a pre-selected area of the editor.

To select an object, you must set the object Type to its Property and the value that this property of the selected objects must match. For example, you can select all objects of only a certain color.

You can also add or exclude selected objects from the set.

How to mirror the text in AutoCAD

When working with text using the MIRROR REFLECTION command, there is a useful MIRRTEXT command. Using the MIRRTEXT command, you can specify how the text will be «mirrored» relative to the specified symmetry axis. If the value of the MIRRTEXT = 0 command is the result of the MIRROR REFLECTION of the text, it will be as follows:
If the value of the MIRRTEXT command is 1, the result of the MIRROR REFLECT of the text is as follows:

Why the dialog boxes stopped appearing when invoking AutoCAD commands

Frequently asked question when working in AutoCAD is the dialog boxes that suddenly cease to appear when calling commands, for example when saving a drawing or opening a new drawing, while a request for a drawing name is issued via the command line.



For the appearance of dialog boxes in AutoCAD, the FILEDIA variable responds. If its value is 1, then when calling commands that have dialog windows, they will appear, if the value is 0, then all user interaction will occur via the command line. to change the value, enter FILEDIA on the command line and set the desired value.

How to build a fillet (mate) in AutoCAD

The building of fillets and angle mates in a flat or a 3D object in AutoCAD is done with a team MATE (_fillet). You can run the command by typing at the command prompt or by clicking on the toolbar.

After running the command, options for further actions appear:




Entering a letter:

T — cancel the command,

And it will be possible to select a polyline where you will build a fillet all corners of a given radius,

D — set radius value,

B — set the mode with or without cropping the lines that create the angle to be rounded,

H — you can round multiple corners without interrupting the command.

If the choice of the lines forming the angle, but does not have a common point of intersection to hold down the Shift key, the command will extend these lines to their intersection point.

Calculation of mass of a 3D solid

Translation (conversion) from pdf to dwg by standard AutoCAD tools

AutoCAD is a very versatile CAD program. In confirmation of this, let’s consider a method by which you can translate relatively simple graphics from pdf to dwg format without the use of special programs. The essence of the method is to insert the so-called «pdf Underlay»into the current AutoCAD document. Open the Insert menu, select PDF Underlay. The pdf file selection window appears, select the file and in the next window select the desired page, the insertion point in the document and the scale if necessary.




If the graphics in the PDF vector after inserting into the AutoCAD document to it can be bound by object binding and» outline » the graphics pdf standard means AutoCAD such as polyline, circle, spline, etc.


Several variables are «in charge» of binding to the substrate graph: DWFOSNAP, PDFOSNAP, DGNOSNAP, their values must be equal to «1» for the binding to work.