Attached is a simply box with a dimension and a grip to adjust the location of the text of the dimension.
Currently when I stretch the box the dimension text is staying 5' from the left when it should should always be centered with the box unless I decide it shouldn't be. The grip action is doing exactly what I entended, but the text for the dim isn't staying centered with the box. Everything is perfect except when I lengthen the box.
e.g. With a 50' length box the dimension text should to be at 25' (just as the grip is doing).
Thank you in advance for any suggestion.
J.Monday
Solved! Go to Solution.
Solved by AcadAdamLT. Go to Solution.
Set the stretch action for the text to distancemultiplier 0,5 instead of 1,0.
That should stretch the text only half the distance which results in text always being centered.
A simpler solution is just to set the dim to the Home position and it will stay centered. You don't need a separate Action for the dim text.
Kim
Downside to that is that the Dimtext cannot be relocated without exploding the block if the OP needs to for some reason.
Regards, Charles Shade
CSHADEDESIGN | AUTOCAD LT | LT-KB | DYNAMIC BLOCKS
Please mark Accept as Solution if your question is answered. Kudos gladly accepted. ⇘
I am constantly moving the dimension text for clarity reasons. I've been working on this, as well, and I think I have it where I want it, for now.
Thank you for the suggestion.
Okay now is over.
Why are you using a Dimension string with the dimension overwritten to acheive your Text?
Why not an Attribute? With Fields?
Does the Length ever change?
Width?
Depth?
Do you want this to do more?
You've worked in to a fairly complicated block that is quite limited in what can be achieved in the end.
What really do you need this to do?
Remember to REGEN
Regards, Charles Shade
CSHADEDESIGN | AUTOCAD LT | LT-KB | DYNAMIC BLOCKS
Please mark Accept as Solution if your question is answered. Kudos gladly accepted. ⇘
The dimension strings isn't being overwritten. It has a Dim Prefix e.g 6x18xDIM. I have created multiple dblocks with different heights and depths. The overall length does change often.
I like the idea of the attribute with fields. It would cut down the amount of dblocks in half but with my co-workers thinking you have to type "LINE" and "ERASE" to draw a line and erase it. It would be a daily chore to remind them to REGEN. I should just make them do it and deal with it. (I think "L" is easier than "LINE")
Thanks for you post. I will definitely use this for something.