Number(Text) increase associated with incremental linear Stretch & Array actions

Number(Text) increase associated with incremental linear Stretch & Array actions

Anonymous
Not applicable
1,606 Views
4 Replies
Message 1 of 5

Number(Text) increase associated with incremental linear Stretch & Array actions

Anonymous
Not applicable

   I have created a DATA RACK dynamic block in Windows based AutoCAD 2019.  I have accomplished getting the rack to incrementally stretch vertically, starting from the 12th rack unit up to the 42nd rack unit. 

   My Goal:  To get the rack unit numbers, from RU #13 thru RU #42, to incrementally increase by 1 as they array vertically upward along the linear parameter, numbering each RU correctly as the rack size increases.  One solution I was thinking of, was to somehow to get number (Text) to change visibility states as each increment arrays upward.  I have yet to figure out this or another solution, Please help me find a working solution.  I am attaching the block.  Below is a description of how I made the block to this point.

 I started with a 2’ rack and made it a block.  It has a base height of 12 rack units (12RU). Each RU is 1.75" in height. I opened the block editor and gave the 12th RU a vertical liner parameter of 1.75" starting at the base of the 12th RU.  I assigned a stretch action to the parameter; the objects selected are the top of the rack and the vertical post lines.  Next I gave the same parameter an array action; the objects selected are the 6 screw holes, the tick mark and the RU number, in the 12th RU.  I selected the liner parameter, in the properties box under Value Set I set the Dist type to Increment, the Dist increment at 1.75”, Dist minimum at 0 and Dist maximum at 54.25” to give the rack a total maximum of 42 RU.

0 Likes
1,607 Views
4 Replies
Replies (4)
Message 2 of 5

ojuris
Advisor
Advisor

try this

after you change block - REGEN

I add block with attribute and field in attribute value

0 Likes
Message 3 of 5

Anonymous
Not applicable

Ojuris

  Thank you for your reply.  Please give a more descriptive explanation. 

    Just to clarify,  what I did inside my block is array the number 12 (30 times) in a linear parameter vertically, incrementally every 1.75”.  If you open my block you will see the number 12 repeats itself without changing as the array stretches.  My goal is to get the number 12 arrayed from 13 to 42, with all the numbers increasing or decreasing in that range by 1 each increment as the array action changes incrementally in length.  Almost as if this was a measuring tape that extended out and back in.

0 Likes
Message 4 of 5

Anonymous
Not applicable

Ojuris
Thank you for your reply. Please give a more descriptive explanation. Just to clarify, what I did inside my block is array the number 12 (30 times) in a linear parameter vertically, incrementally every 1.75". If you open my block you will see the number 12 repeats itself without changing as the array stretches. My goal is to get the number 12 arrayed from 13 to 42, with all the numbers increasing or decreasing in that range by 1 each increment as the array action changes incrementally in length. Almost as if this was a measuring tape that extended out and back in.

Vernon P.
CAD Designer

0 Likes
Message 5 of 5

ojuris
Advisor
Advisor
  1. I make block who consists of 1 attribute
  2. I put it in your block and change text 12 with this block
  3. add this block to array
  4. in this attribute add field with formula that calculate number from that block y coordinate
0 Likes