Copies the selected text or block with an attribute containing a numeric value, changing the value to a specified numerical step
Call options
- ModPlus menu
- ModPlus palette
- AutoCAD ribbon
- Command line: _mpTxtNumCopy
Icon
Related news and articles
Using
Select text, block with attributes or a multileader: — select one-line or multi-line text, block with attribute (s), or multileader.
If the selected element is a block with multiple attributes, the attribute selection window will appear:
If the selected text contains several numbers, the plugin will prompt you to select one of them:
Accept — end the number selection and continue the plugin.
Cancel — close this window and terminate the plugin.
If you change the separator of the whole and fractional part in the window for selecting the number from the text, the separator is saved in the global settings of the ModPlus plugin
Next, the settings window will be displayed:
The following options are presented at the top of the plugin window:
Base number — selected number.
Increment step — the number by which the base number will increase.
Save text BEFORE and text AFTER — save the text before and after the variable number. Disables the ability to specify a prefix and a suffix.
Prefix/Suffix — fields for entering a Prefix and/or Suffix.
Leading zeros — add leading zeros to a number in case the number does not satisfy the form of the digit. For example, if you select the "Dozens" option and copy the number 1 in steps of 1, you will get the values: 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, etc.
Suppression of tail zeros — removing from the number of all tail zero.
Result: — field in which an example of the plugin is displayed with the specified settings.
Continue — close this window and continue the plugin.
Cancel — close this window and abort the plugin.
Next, the plugin will go into the AutoCAD space to continue execution:
Base point: — specify base point.
Specify a point: — specify an insertion point for a new single-line or multi-line text, block, or multileader. Specifying the insertion point for a new object will occur cyclically until the plugin is canceled by the user (by pressing Esc).
Copy along a curve — enabling the mode of copying the selected object along the specified curve.
Step — distance between object copies.
Quantity — if this option is enabled, the quantity of object copies with the specified step is specified in the field. If this option is disabled, the copies will be placed along the entire length of the curve.
Shift — displacement of the object copies relative to the original object along the X and Y axes.
Insert copies on a curve — the object copies will be placed on the selected curve with copying starting from the original number.
Coping with curve division — if this option is enabled, the number of object copies specified in the Quantity option field will be evenly distributed along the entire length of the curve. The option is available when the Quantity option is enabled.
Orientation — selection of the position of the object copies relative to the curve. The following options are available in the drop-down list:
- Do not change — the orientation of the copies will be the same as for the original object.
- Along the curve — the object copies will be positioned parallel to the curve.
- Perpendicular to the curve (left) — object copies will be located perpendicular to the curve (rotated to the left relative to the curve direction).
- Perpendicular to the curve (right) — object copies will be located perpendicular to the curve (rotated to the right relative to the curve direction).
After clicking the Continue, the plugin will go to AutoCAD space to continue execution:
Select curve: — specifies the curve along the path of which the objects will be copied.