Attribute Field Diesel Formula with Automatic Numbering for Dynamic Blocks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello friend.
Probably none requested this before.
I have an attached file, I need to add a number to each dynamic-block-attribute, named "#tableros" , without a repeated a number.
I was using this method: "field1-field2-field3"; example: TDE-D-140
field1: name VISIBILITY state
field2: Layer name
field3: formula {BlockInsertPointAxisX+BlockInsertPointAxisY}
in field3 the formula uses the regular block InsertPoint with an "anonymous" name, instead of dynamic block with name "#tableros", "decimal" value with a "precision" of "0" instead of "0.00"
but in some cases, I get repeated numbers.
for example for blocks with the axis X: 1095 and axis Y: 1105 have the same field3 (value 2200) with the axis X: 1105 axis Y: 1095 or the axis X: 1095.4 and axis Y: 1105.4 (for the precision "0")
In the field3 value of 2200, the "2" (of two thousand) represent the Level (0,1,2,3,4). Levels are indicated in Drawing attached.
dynamic block with name "#tableros" are inside regular blocks with "anonymous" name. Insertion
So, I need a field formula or field DieselExpression option to automatic numbering without repeat "field1-field2-field3"
for this case, I wrote numbers manually with LEVEL "0" (inside attached drawing) like an example.