Plugin is used to automatically add a layer to the created objects
About files with the extension .mpifThe file with the .mpif extension is a special installation file of the ModPlus (ModPlus Install File).
These files allow you to install and update all ModPlus components using the auto-update module in case you do not have access to the internet or modplus.org
- ModPlus menu
- ModPlus palette
- AutoCAD ribbon
- Command line: _mpLayerAuto
DESCRIPTIONPlugin processes the creation, copying, pasting and other commands when working with AutoCAD objects - dimensions, text, multileaders, hatching, tables, viewports, lines, polylines, xLines, rays, circles, ellipses, splines, arcs, blocks - and sets the layer specified in the plugin settings for them. There is an option to specify the specified layers for the selected objects. There is an opportunity to set block layers by name
The upper part of the window contains two switches that enable or disable the states of operation in the current document - the mode of setting layers by the type of entities and the mode of setting layers by block names.
Important! The state of the “Layers for entities” and “Layers for blocks by name” options is saved in the drawing, not in the custom configuration file. Options must be enabled or disabled for each drawing separately.
Below are the settings, divided into two groups – layer assignment and setting commands to exclude. The assignment of layers, in turn, is divided into layers for entities and layers for blocks by name.
Layers for entities
This group contains layer settings for entities by their type. The lists are filled with the names of the layers contained in this drawing. When choosing "Default layer" current layer of drawing will be assigned to the entity. If the set layer is then removed from the drawing, the entity will be assigned a default layer.
Important! Layer settings for entities by type are saved in the drawing, not in the custom configuration file. Layers must be configured separately in each drawing.
The Load and Remember commands allow you to save or load saved layer settings in a custom configuration file.
Layers for blocks by name
This group contains a list of rules for setting layers for blocks, depending on the names of the blocks.
Important! Layer settings by block names are saved in a custom configuration file. All drawings have the same block layer settings.
Note: setting a layer for a block by name has a higher priority than setting a layer for the "Block" entity type.
For each rule in the list, you must specify a rule for checking the name match - full match or partial (the block name contains the specified value). The case is not case sensitive. The layer can be specified either by the value from the drop-down list, which is filled with the layers of the current drawing, or entered manually.
- add a new rule - delete the selected rule - export of rules to xml file - import of rules from xml file. All current rules in the list will be deleted
On this tab, you can edit (add or remove) the list of commands to be excluded from processing by the plugin.
The standard set of commands for exclusion is not editable!
More details on the forum.
Save - save all settings and close the window. The state of the operating modes and the settings of the layers by the type of entities are saved in the current drawing. Layer settings by block name and commands to exclude are saved in a custom configuration file.
Apply to selected - apply all specified layer settings to selected entities.