Use the -EditBlockAttribute command to edit the values and text options of the same variable attributes in multiple Block instances.
It is the command window variant of the EditBlockAttribute command.
You can replace all or only a part of an attribute value on all Blocks or only on a selection. Additionally, you can change the position, height, angle and style, but only individually.
To specify BlockAttributes based on their names and values, use the asterisc (*) to filter them. A window selection returns all attributes that have the specified value and contain the specified string within their name.
You can:
Note: You cannot edit BlockAttribute values on locked Layers.
To edit BlockAttributes one at a time:
When replacing BlockAttributes one at a time, you can edit all attributes or only some of them. Additionally, you can change the position, height, angle and style.
Note: BlockAttributes must be visible and parallel to the CCS.
You can specify several blocks: Type a search string using * for a string of characters to select Blocks. For example, type "A*" to select all Blocks starting with A in the name.
You can specify several BlockAttributes: Type a search string using * for a string of characters to select BlockAttributes. For example, type "A*" to select all BlockAttributes starting with A in the name.
BlockAttribute values are case-sensitive.
In the graphics area, the BlockAttributes that match the specified criteria, are selected. The editing starts with the first BlockAttribute from the selection. Step through the BlockAttributes using the Next attribute option.
To change or replace a BlockAttribute value:
To change the text position properties, use the following options:
Note: Assuming that a BlockAttribute is not defined as locked in Block, you can modify the insertion point of a BlockAttribute by selecting its EntityGrip and drag it to a new location.
To change the text aspect, use the following options:
To edit several BlockAttributes:
According to your choice, applies only to visible attributes or both visible and invisible.
You can replace a text string with another text string, for all attributes.
You can specify several Blocks: Type a search string using * for a string of characters to select Blocks. For example, type "A*" to select all Blocks starting with A in the name.
BlockAttribute values are case-sensitive.
Example:
The following blocks have one common BlockAttribute named Section, displaying the detail number.
Old values: AB1, AB2, AB3
New values: CD1, CD2, CD3
Use A* to specify all Section attributes for which it is necessary to modify the value.
Include a set of blocks in a window selection.
The window selection returns 5.
The value will be replaced in all 5 block attributes.
Access
Command: -EditBlockAttribute
Related Topics