Install macros for Sprint Laut 6. Creating a macro. General view and working area

We got acquainted with the program interface. We'll start the second part of the course by looking at what functions the program for drawing circuit boards provides.

All elements are located on the left panel.

Let's look at them.

Hotkey "Esc".

The default tool. Used to select elements on the workspace. Resetting any tool to the “Cursor” is done by clicking the right mouse button.

Hotkey "Z".

The cursor changes to a magnifying glass. Clicking on the left mouse button on the working field increases the scale of the board, and clicking on the right mouse button decreases it.

Also, with the left mouse button held down, you can select the area of ​​the board that needs to be enlarged.

Hotkey "L".

A tool for drawing a path of a given width. The width value (in mm) is set before starting drawing in the special field below:

The button on the left opens a submenu of frequently used, so-called “favorite” track widths. You can add a new value or remove an existing one:

Note - The item to add a new value becomes active only if the current track width value is not in the list.

After setting the width, selecting the "Path" tool, you can start drawing the path directly. To do this, in the work field, select the point where the line will begin, click the left mouse button and draw the line to the point where it should end.

You can change the type of track bend by pressing the Spacebar. Five options are available:

When you press the "Space" key while holding down the "Shift" key, the search is performed in the reverse order.

During the drawing process, you can, if necessary, fix the line by clicking on the left mouse button, thereby forming the required shape of the track.

The length value is displayed for the last unfixed segments.

By holding down the "Shift" key you can temporarily make the grid step half as large, and by holding down "Ctrl" you can disable snapping the cursor to the grid.

Having fixed the last point of the track, you can finish drawing the track by clicking on the right mouse button. The track ends and the cursor is ready to draw the next track.

When you select a drawn line, it is highlighted pink and the properties panel changes to show the track options:

In this panel you can change the value of the line width, view its length, the number of nodes and the calculated maximum allowable current.

Note - Calculation parameters (copper layer thickness and temperature) are configured in the "I max" section of the main program settings (see).

The blue circles represent the nodes of the track. And in the middle of each track segment you can see blue circles - the so-called virtual nodes. By dragging them with the mouse cursor you can turn them into a full-fledged node. Please note that during editing one segment is highlighted green, and the other is red. Green color means that the segment is located horizontally, vertically or at an angle of 45°.

The ends of the tracks are round by default, but there are two buttons in the properties panel that make them rectangular (note the left end of the track).

If one trace is represented on the board by two separate tracks and their end nodes are located at the same point, then the tracks can be connected.

To do this, right-click on the end node and select "Connect Line" from the context menu. The track will become solid.

The "Negative" checkbox forms a cutout from the track on the Auto-ground polygon:

Contact

Hotkey "P".

A tool for creating pads for component pins. By clicking on the small triangle on the left, a contact menu opens where you can select the desired contact form:

The item “With metallization” makes the contact pad on all layers of copper, and the hole metallized. In this case, the color of the contact with a metallized hole differs from those without metallization (note the round blue contact). The F12 hotkey enables/disables metallization for any selected contact.

The shapes of the contact pads are not limited to this list - they can be made of any shape. To do this, you need to place a regular contact (1), and draw a pad of the desired shape around it (2). Moreover, you should not forget about the mask - you must manually open the entire contact (3) from it (see below about the mask).

Like the "Track" tool, this tool has its own settings at the bottom:

The upper field specifies the diameter of the contact pad, the lower field specifies the diameter of the hole. The button on the left opens a submenu of frequently used contact sizes. You can add a new value or remove an existing one:

Having set the required values, select the “Contact” tool and left-click the mouse to place the contact at the desired point in the working field.

The settings of any selected contact (or group of contacts) can always be changed in the properties panel:

The last item with a checkmark turns on the thermal barrier at the contact. We'll look at this feature in more detail in the next part of the course.

If the contact pad does not have a warranty belt, i.e. The diameter of the hole is equal to the diameter of the contact pad, then it is displayed as follows:

SMD contact

Hotkey "S".

A tool for creating rectangular contacts for surface mount components. Settings:

On the right are fields for entering the width and height of the contact. Below them is a button for changing the values ​​in these two fields. The button on the left opens a submenu of frequently used contact sizes.

Having specified the required dimensions and selected this tool, the contact can be placed on the working field:

For an SMD contact, the thermal barrier function is also available in the properties panel, with the only difference that it can be configured only on one layer.

Circle/Arc

Hotkey "R".

Primitives - circle, circle, arc.

We select the placement point and, holding the left mouse button, move the cursor to the side, thereby setting the diameter of the circle.

Note that the properties panel as you draw contains information about the circle being created. By releasing the left mouse button, we complete the creation of the circle. By selecting it with the "Cursor" tool, we can edit the properties of the circle in the properties panel - in particular, set the coordinates of the center, line width and diameter, as well as the angles of the start and end points if we want to turn the circle into an arc.

You can also turn a circle into an arc by dragging the cursor over the only node on the circle:

The "Fill" checkbox makes a circle out of a circle, filling the inner area, and "Negative", by analogy with a path, turns the element into a cutout on the Auto-ground polygon.

Polygon

Hotkey "F".

A tool for creating areas of any shape. Drawing occurs along a path with a given width:

Once completed, the polygon is displayed with a fill and, when selected, the nodes can be edited (same as in the path tool):

The properties panel contains some more settings:

You can change the width of the contour line, see the number of nodes, make a cutout from the polygon using the Auto-earth fill (check “Negative”), and also change the type of polygon fill from solid to mesh.

The thickness of the grid lines can be left as the polygon outline, or you can set your own value.

Text

Hotkey "T".

Text label creation tool. When you select it, the settings window opens:

  • Text- input field for the required text;
  • Height- text line height;
  • Thickness- three various types text thickness;
  • Style- text style;
  • Turn on- rotate the text to a certain angle;
  • Mirror by- reflect text vertically or horizontally;
  • Automatically- additionally add a number after the text, starting from a certain value.

Three types of text thickness and three types of style give nine style options (although some are the same):

Note - By default, the minimum possible text thickness is limited to 0.15 mm. If the thickness is too small, the text height is automatically increased. This restriction can be disabled in the program settings menu (see).

Rectangle

Hotkey "Q".

A tool for creating a rectangular outline or rectangular polygon. To draw, click the left mouse button in the work field and, without releasing, move the cursor to the side, setting the shape of a rectangle.

The creation of the rectangle will be completed after the button is released.

As I already said, two types of rectangles are available - in the form of an outline from paths and with a fill.

Moreover, a rectangle in the form of an outline is nothing more than an ordinary path laid in the shape of a rectangle, and a rectangle with a fill is a polygon. Those. Once created, they can be edited as a track and a polygon, respectively.

Figure

Hotkey "N".

Tool for creating special shapes.

The first type of figure is regular polygon:

Bisector settings are available - distance from center to vertices, track width, number of vertices, rotation angle.

The "Vertex" checkbox connects opposite vertices to each other ( medium drawing), "Fill" - paints the interior space of the figure (right picture):

It should be noted that the result is elements consisting of tracks and a polygon. Therefore, they are edited accordingly.

The second type of figure - spiral:

By setting the parameters, you can create a round or square spiral:

A round spiral consists of quarter circles of various diameters, and a rectangular spiral consists of a track.

The third type of figure - form:

The settings allow you to set the number of rows and columns, the type of numbering, its location, and the overall dimensions of the form. Result:

The form also consists of simpler primitives - track and text.

Mask

Hotkey "O".

Tool for working with solder mask. When using it, the board changes color:

The white color of the elements means that the area will be open from the mask. By default, only the contact pads are exposed to the mask. But left-clicking on any element of the current copper layer opens it from the mask (in the picture I opened a path from the mask in the center of the picture). Pressing it back again closes it.

Connections

Hotkey "C".

The tool allows you to establish a virtual connection that is not broken when moving or rotating components between any contacts on the board.

To delete a link, you need to left-click on it with the Link tool active.

Highway

Hotkey "A".

A primitive autorouter. Allows you to trace placed "Connections".

To do this, set the routing parameters (track width and gap) and hover the cursor over the connection (it will be highlighted) and click the left mouse button. If it is possible to lay a route with the specified parameters, then it will be laid:

In this case, the automatically laid route will be displayed with a gray line in the center of the track. This makes it possible to distinguish them from manually laid routes.

Clicking the left mouse button again with the Route tool active on the automatically routed route deletes it and returns the contact link.

Control

Hotkey "X".

The tool allows you to see the entire routed circuit by highlighting it:

Note - in the first part of the course I described setting the type of this backlight: flashing/non-blinking Test mode.

Meter

Hotkey "M".

By holding down the left mouse button, a rectangular area is selected, and a special window displays the current coordinates of the cursor, changes in coordinates along two axes and the distance between the start and end points of the selection, and the diagonal angle of the selection rectangle.

Photoview

Hotkey "V".

A handy tool that allows you to see what the board will look like after manufacturing:

The Top/Bottom switch changes which side of the board is displayed.

Note - The bottom layer is mirrored when displayed compared to the display when tracing. The PhotoView tool works in the same way as if you were twirling a finished board in your hands.

The "With components" checkbox enables the display of the marking layer, and the "Translucent" checkbox makes the board translucent - the bottom layer is visible through it:

Two drop-down menus - “Board” and “Solder mask” change the color of the mask and the color of the contacts not covered by the mask:

Note - The "---" item displays the contacts as covered with a mask.

Macros

A macro is a saved area boards, ready for further reuse. IN Sprint Layout A library of component footprints is organized in the form of macros.

After starting the program, by default the macro panel is open on the right. Opening/closing this panel is controlled by a button on the toolbar on the right side of the window:

This library is currently empty.

To connect the downloaded set of macros, just unpack it and place it in the folder specified in the SL6 settings (see):

After this, the program, having scanned this folder during the next launch, will display macros in the panel:

To delete a macro from the library, just select it in the library tree and click on the trash can icon next to the save button.

To edit a macro, you need to drag it onto the work field, make the necessary changes and, having selected the necessary elements, click on the “Save” button and save it as a new macro, giving it a name (or replace the existing one).

IPC-7251 and IPC-7351

I would like to say a few words about naming your macros. There are foreign standards IPC-7251 and IPC-7351, which determine the sizes of contact pads and types of footprints for various standard cases. But in our case, we will need recommendations on naming the footprints from there.

Let's look at the example of a 100 nF capacitor of the B32922 series from EPCOS:

According to the IPC-7251 standard, the name of its footprint will be formed as follows:

CAPRR + Lead-to-pin distance + W Lead thickness+ L Body length + T Case thickness+ H Case height

Therefore, according to the datasheet we have:

CAPRR_1500_ W80_ L1800_ T500_ H1050

CAPRR– Capacitor (CAP), non-polar, radial (R), rectangular (R)
1500 – Lead spacing = 15.00mm
W80– Lead thickness = 0.80mm
L1800– Case length = 18.00mm
T500– Case thickness = 5.00mm

The following parameter is optional - for Sprint Layout it has no meaning:

H1050– Case height = 10.50mm

Thus, this type of naming, after getting used to it, will allow you to find out information about the footprint by the name of the macro and avoid confusion in the library.

I have attached excerpts from the standards to the article:

  • Footprint Naming Convention. Surface Mount - for SMD components.
  • Footprint Naming Convention. Through-hole - for output components.

Creating Macros

As an illustrative example, we will select a circuit for which we will create a library of macros. Let this be a simple tone control on the TDA1524A chip:

Let's carefully look at the diagram and make a list of components for which we will need macros:

  1. Chip TDA1524A.
  2. Fixed resistor with a power of 0.25 W.
  3. Variable resistor.
  4. Electrolytic capacitors.
  5. Film capacitors.
  6. Connectors for connecting power, as well as for connecting a signal source and load.
  7. Miniature switch.

The process of creating a macro consists of several steps:

  1. Arrangement of contacts.
  2. Drawing graphics for the marking layer.
  3. Saving the macro in a separate file on disk.

In the video below I will show you the process of creating macros for elements of the selected diagram in two ways.

Once upon a time, creating a printed circuit board (PCB) for an electronic device was just an add-on, a supporting technology to improve quality and repeatability in mass production of electronics. But this was at the dawn of the development of electronics. Now the creation of software is a whole separate branch of technical art.

As Wikipedia says, PP is:

A dielectric plate on the surface and/or in the volume of which electrically conductive circuits of an electronic circuit are formed. A printed circuit board is designed to electrically and mechanically connect various electronic components. Electronic components on a printed circuit board are connected by their terminals to elements of a conductive pattern, usually by soldering.

Today, radio amateurs have access to factory production to order their printed circuit boards. It is enough to prepare the necessary files with the PCB design and additional information about holes, etc., send to production, pay and receive ready-made factory-quality PCBs with silk-screen printing, solder mask, precisely drilled holes, etc. Or you can make PP the old fashioned way at home using LUT and a cheap etching solution.

But before you make a PP, you need to draw it somehow. Currently, there are dozens of programs for these purposes. They can be used to design both single-layer and multi-layer printed circuit boards. In RuNet, the Sprint Layout program is most widespread among radio amateurs. You can draw PP in it as in graphic editor. Only your own specialized set of drawing tools. This program is simple, convenient and a good place to start your acquaintance with PCB design in CAD.

I have no goal to create complete guide. Online great amount manuals on SL, so I will try to give a concise description so that you can quickly get down to business - drawing a printed circuit board, so I will try to talk about some useful functions of SL that are really needed when creating a PCB.

General view and working area

The program itself looks like a regular Windows application: at the top there is a strip with the program menu (file, actions, board, functions, service, options, help). On the left is a panel with tools that are used when drawing a printed circuit board. On the right is a window that displays the properties of the working field, a specific track, a specific group of tracks, etc. Those. If you select an object on the PP, its properties will be displayed in the window on the right. A little further to the right of the “Properties” window is the “Macros” window. Macros are a convenient tool for grouping and reusing previously drawn parts or parts of a board. I will dwell on them in more detail, since they save incredible time and reduce the number of errors on the board.

Working field

The black mesh field is the working field. This is where you will place contact pads, holes for radio components and draw tracks between them. The field also has some properties. The obvious ones are length and width. The field size determines the maximum size of the PP. In this case, the width and length are specified in millimeters. This is an important clarification, since the grid cell size is set by default not in millimeters, but in mil (i.e., not metric, but inch units):

This strange measure of length came to us from England and is equal to 1/1000 of an inch:
1 mil = 1 ⁄ 1000 inch = 0.0254 mm = 25.4 microns

Mil is widely used in electronics, but in Sprint Layout you can configure the grid to be displayed in mm. Install it the way that is most convenient for you. Mil is a smaller measure and therefore allows you to more accurately position the elements of the printed circuit board on the working field.

Sprint Layout Toolbar

Cursor (Esc) is a common tool that is used to select an element on the PP: a hole or part of a track.

Scale (Z) -- used to increase/decrease the size of the printed circuit board pattern. It is convenient when there are many thin paths and you need to highlight one among them.

Track(L)-- used to draw a conductive path. This tool has several operating modes. More on them later.

Contact(P)-- the tool is designed for drawing vias. You can select the shape of the hole, and also set the radius of the hole itself and the radius of the foil around it.

SMD contact (S) - for designing PCBs using SMD components. Draws contact pads of the required sizes.

Circle/Arc (R) -- to draw a conductor in the shape of a circle or arc. It can be convenient in some cases.

Square (Q), Polygon (F) , Special forms (N) -- tools for creating platforms and areas of a certain type.

Text(T)-- for writing text. You can set how the text will be displayed on the board: normally or mirrored. This helps to display correctly on the board, for example, when using LUT.

Mask (O) -- for working with solder mask. By default, when you turn on this tool, the entire board except the pads is “covered” with a solder mask. You can arbitrarily open/close any contact or track with a solder mask by clicking on it with the left mouse button.

Jumpers (C) is a virtual connection that is preserved during any manipulations with the contact tracks between which it is installed. When printing, the jumpers are not displayed in any way, but they are used for auto-routing.

Highway (A) is the simplest autorouter. Allows you to lay contact paths between contacts using arranged connections. In order to distinguish automatically laid paths from manually laid ones, SL draws a gray line in the middle along such a path.

Test (X) -- the simplest tool control. It can be used to highlight one specific track in a layer. Convenient for checking the correct layout of tracks.

Meter (M) is a convenient tool for measuring distances on a board drawing. The meter shows: cursor coordinates, changes in cursor coordinates in X and Y, the distance between the start and end points and the diagonal inclination angle of the rectangle constructed from the start and end points of the meter.

Photo view (V) -- shows approximately what your board should look like after industrial manufacturing.

SL allows you to draw multilayer PCBs. For home purposes, you are unlikely to go beyond a 2-layer board. But if you order from production, then Sprint Layout has the necessary capabilities for rendering a board with several layers. There are seven in total: two outer copper layers (top and bottom), two silkscreen layers for the outer layers, two inner layers, and one non-printed layer for drawing the outline of the board.

Working with layers is similar to working with layers in Photoshop or GIMP (If you haven’t used gimp, I recommend it. It’s like Photoshop, only free): you can place tracks in different layers, turn layers on and off, etc. Switching the working layer and controlling visibility is done at the bottom of the working field using this control:

Each layer in SL has its own purpose:

  • M1- upper layer
  • K1- marking of elements of the top layer
  • IN 1- inner layer
  • AT 2- another inner layer
  • M2- bottom layer
  • K2- marking of elements of the lower layer
  • ABOUT- layer for drawing board outlines

When creating your board, you should remember that the text and elements in the M2 layer must be reflected. Usually SL automatically makes the text reflected, but you should still check from time to time.

When working in SL, only one layer is always active. It is on this layer that all contact pads and tracks will be placed. While working with this layer, all other layers are considered inactive - tracks and contacts on them cannot be changed.

Macros and element libraries

Each electronic component has its own dimensions, its own number of pins, etc. You won’t draw them by eye every time, especially since there are macros and entire libraries of macros with already verified and prepared components for this purpose.

Macros are a small piece of PCB board that you can use multiple times. In Sprint Layout, you can turn anything into a macro and then reuse it over and over again in other projects. Very useful and convenient.

Macros can be combined into libraries. At the same time, the library is just an ordinary folder in which a bunch of macros are piled up, which are interconnected by some kind of logic. For example, these are smd resistors or Soviet operational amplifiers, etc. Macros and libraries are most often located in the root folder of the SprintLayout/MAKROS/ program

The process of creating a macro is very simple:

  1. We arrange contacts
  2. In the marking layer we draw a graphic designation of the component
  3. Save the macro

Little tricks when working with Sprint Layout

#1 hotkeys

Although clicking on icons with the mouse is quite convenient, SL has the ability to control almost everything from the keyboard, which increases the speed of work.

Arrows Up, Down, Left, Right Allows you to move components across the working field by 1 grid step in 1 click. If you also hold down Ctrl, the step will be 1/100 mm
Ctrl Unsnaps the snap to the grid. This allows, for example, to reduce the movement step
F1-F4 Selecting a layer. Each key activates the corresponding layer
F5-F8 Make layer visible/invisible
Delete Delete something on the workspace
Space Allows you to switch the bend of the conductor. In total, SL has 5 types of bending of the conductive track.
Ctrl+C Copy selection
Ctrl+Y Redo undone action
Ctrl+Z Cancel action
Ctrl+X Cut selection. Will be buffered
Ctrl+V Paste from clipboard
Ctrl+D Duplicate selection
Ctrl+A Select all components in the field
Ctrl+R Rotate selection
Ctrl+H Flip selection horizontally
Ctrl+T Flip selection vertically
Ctrl+G Grouping selected components into a group
Ctrl+U Breaking a group down into its constituent components
Ctrl+W Move selection to the back of the board

No. 2 Quickly switching grid spacing

I wrote above that the grid step can be selected, but I did not say that using keys 1 to 9 you can quickly change the grid step. They are easily configured via "hot keys" in the grid settings menu.

No. 3 Cascade installation of elements

In the "Actions" menu there is an interesting function "Cascade/Cascade in a circle". It allows you to arrange contacts or components in a cascade: along a given radius or in the form of a matrix. It is very convenient when you need to create many identical elements or pads located in a circle or in a grid.

No. 4 Filling empty space with copper

For various reasons, it is sometimes necessary to cover the empty space on the board with copper so that it does not short circuit with the traces of the board. In Sprint Layout, there is a button at the bottom of the work field for these purposes:

No. 5 Several boards on one sheet

There are several ways to get several identical boards on one sheet. First, you can simply select the entire board and copy it as many times as needed. Secondly, you can turn such a board into a macro and simply use the macro to copy the board. Very convenient if you need to make a panel from circuit boards. True, there is no need to do this to transfer it to production - they will be able to make such panels themselves. The only exception is the case when you need to place several different boards in one file.

No. 6 Installation of reference marks

If you suddenly plan to not only order a PCB in production, but also perform automatic installation of SMD components, then you should familiarize yourself with the reference points and how to install them.

In general reference points-- these are special marks on the PCB that allow installation robots to correctly recognize the position and pattern of the printed circuit board during the installation process.

Commonly accepted reference marks look like this:

Using fiducial marks, you can help the mounting equipment to accurately determine the position of the board itself on the panel (if several identical boards are located on the same panel), and specific elements on the board. Conventionally, all reference marks can be divided into 4 groups:

  • Common PCB Fiducial Marks
  • Local reference marks of individual elements
  • PCB Panel Fiducial Marks

Sprint Layout 6 has the ability to create fiducial marks. To do this, draw a reference mark on the copper layer, then go to the mask editing mode ("O" key) and remove the mask over the drawn circle. Next, when exporting Gerber files, you should set the gap for the solder mask to the required size (This will not affect the gap between the mask and the contacts, since such a gap is adjusted separately, but it will affect the gaps between other PCB elements forced open from the mask).

No. 7 How to change the type of bend of the track

In order to change the bend of the track in SL, you just need to press the space bar (selecting the track drawing tool - L in front of these). The following types of bends are available for drawing:

I’ll finish here, since the Sprint Layout program is very simple (but at the same time very convenient and useful) and you will get much more pleasure by experimenting on your own. Take action!

/blog/sprint-layout-dlya-nachinayuschih/ Learn to draw professional PCBs yourself with Sprint Layout. This is the most popular program for creating PP among radio amateurs of all ages and skills. 2016-12-20 2017-02-04 sprint layout, layout 6.0, sprint layout rus, sprint layout 7.0

Great radio amateur and program designer

Sprint Layout 6 Rus program
15200 macros for the program Program Sprint Layout 6 Rus
Video tutorial on working in the program Program Sprint Layout 6 Rus
Portable version

Very good and widespread amateur radio program for creating printed circuit boards. The program is Russified (very good translation), does not require installation on a computer (portable version). The program comes with more than 15,000 macros. The program archive is located on my Yandex Disk, you can download it from the link at the end of the article

This is what a printed circuit board might look like in Sprint Layout 6 Rus:

If you don’t know how to work in this program, then I suggest watching the video tutorial, which can be downloaded from the link at the end of the article: The video tutorial is also stored on Yandex Disk, file size is 99 megabytes, WMV video format, which allows you to view it in any video player.
The video tutorial was created based on version 5 of the program. In the 6th version, an interesting function appeared - loading a printed circuit board design, which is not suitable for manufacturing a printed circuit board using the LUT method (from a magazine article or book), and based on it, the device tracks can be re-routed.

Procedure:

1. Place the cursor in the work field and right-click. In the window that appears, select the “Properties” menu:

In the window that appears, set the dimensions of the board; they are usually indicated in articles (for example, 70 by 45 mm).

2. Select the “Load drawing” menu, a window appears through which we load our printed circuit board drawing:

Usually the design of the loaded board does not fit into the dimensions we set (70x45).

In this case, in the “Resolution” column, increasing or decreasing the readings, we fit the downloaded drawing into our dimensions.

After all the contacts and tracks are drawn, through the “Load drawing” menu, simply delete the loaded drawing

There is no fundamental difference between creating a board and creating a macro. In this case, the same copper layers (M1, M2) are used for contact pads and conductors and silk-screen printing layers (K1, K2) for drawing projection lines of the component body. The application of the body projection is carried out using the simplest graphic elements (line, circle, etc.) in a silk-screen printing layer.

Example:

You need to create a macro for a 14-pin DIP package.

(This is just an example. It is quite natural that such a corpus already exists in the library.)

14 contact pads are applied to the M2 layer (bottom side) along a given grid (the grid pitch corresponds to the pin pitch). To identify the first pin, its pad can be made square.

Now you should make layer K1 active (silkscreen, top) and draw the outline of the body using the graphics commands. Additionally, you can mark a cutout on the body for better visualization.

So, the macro is almost ready.

Select a point on the working field with the cursor, press the left mouse button and, while holding it, mark the selection area. In this case, you should ensure that only those elements from which the macro is built fall into the selected area.

The selected elements will turn pink.

3. Saving a macro

To save the macro, selectSave as macro.. . on the menu File.

The same command is executed when you click the save button on the library panel.

This will open a dialog box. The save directory in it corresponds to the current library section. If you want to save the macro in another section, you must select the section accordingly.

The macro must be given a valid name. Macro file extension".lmk" (assigned by default to all macros) will be added automatically.

After saving the macro, it will be added to the selected library section.