Reset text position of many dimensions at once.

Reset text position of many dimensions at once.

Anonymous
Not applicable
19,090 Views
22 Replies
Message 1 of 23

Reset text position of many dimensions at once.

Anonymous
Not applicable

Hi all.

 
I know how to do this with a dimension. But I need to do it with 100 or so. I would not want to have to go one by one.
Some time ago I was using "Dim" + (Select dimensions) + "Hometext" but now it does not work.
Any suggestions?
Thank you very much
0 Likes
Accepted solutions (1)
19,091 Views
22 Replies
Replies (22)
Message 2 of 23

john.vellek
Alumni
Alumni
Accepted solution

Hi @Anonymous

 

DIMEDIT Home might do what you are asking for.

 

Please hit the Accept as Solution button if my post fully solves your issue or answers your question.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
Message 3 of 23

TheCADnoob
Mentor
Mentor

I would select simiar and do one of the following. 


CADnoob resetdimension2.gifCADnoob resetdimension.gif

CADnoob

EESignature

Message 4 of 23

Anonymous
Not applicable

Yes!!!!! Smiley Happy

 

Thank you very much

0 Likes
Message 5 of 23

Anonymous
Not applicable

Thank you very much also for your help

0 Likes
Message 6 of 23

capu57XX5R9
Contributor
Contributor

You're my hero.  I started at a new company to run the drafting department and someone instead of setting up a standard across the board for how much the dimensions should offset from the line was having the team manually move them.  I had a drawn with over 100 dimensions lines and was going through it one at a time pick the dimensions line, hovering over the #'s, selecting reset text position before going to the next one. 

 

You just save me probably 20+ minutes per drawing.

 

I had also tried selecting all dimensions and changing the dim style to another type then changing it back but the rarely worked for all dimensions. 

0 Likes
Message 7 of 23

Vuxvix
Advocate
Advocate

Hi!
Your pop-up permissions are different from the default autocad. can you share some information about it. with default autocad rightmouse can't apply dimension's texts position at the same time。Thanks

Message 8 of 23

zago_arq
Observer
Observer

Just use the command:

 

AI_DIM_TEXTHOME

 

arqzago_0-1678387292209.png

 

Message 9 of 23

chienhmMQLQU
Community Visitor
Community Visitor
tks so much.
0 Likes
Message 10 of 23

TheCADnoob
Mentor
Mentor

sorry for the late response. This post was originally from 2016, meaning I was on a much earlier version of AutoCAD than when your question was posed. 

 

You can achieve the same ends by selecting the dimensions you need and using the command that was suggested as the solution to this thread. 

CADnoob

EESignature

Message 11 of 23

Vuxvix
Advocate
Advocate
Hi!
You finally showed up. I've tried, but I don't see where the " Dim Text Position " tab can be applied to the whole selection .
I also tried the right click menu when Dim text is selected, it doesn't apply to the whole string either. Where am I doing wrong?
0 Likes
Message 12 of 23

cadffm
Consultant
Consultant

Hi,

DIMEDIT (option home) or AI_DIM_TEXTHOME can handle multiple dimension by object before command and also by command before object selection.

 

So I can't imagine what you can do wrong. How it should work with AutoCAD dimensions

 

 

Command: DIMEDIT

Option Home

<object selection>

 

 

<object selection>

Command: DIMEDIT

Option Home

 

Command: AI_DIM_TEXTHOME

<object selection>

 

 

<object selection>

Command: AI_DIM_TEXTHOME

 

 

 

 
 

 

 

Sebastian

Message 13 of 23

Vuxvix
Advocate
Advocate

Hi!
I have been looking for a solution to this problem for a long time. Sorry I didn't make it clear. I want to apply " Text Above Dim Line*" to multiple select objects at once. i agree that "Reset Text home" works for all. but "*" is not.
P/s: i assigned a shortcut to "Dim Text home" and it worked as expected. And "Above dim line" is not. Perhaps the way it works is based on the relative position of the Text relative to the Dim line, so selecting multiple objects requires more comparison conditions (That's what I thought, who knows nothing about scripts: D)Text Above Dim line.JPG

Message 14 of 23

cadffm
Consultant
Consultant

Hi,

 

>>"I want to apply " Text Above Dim Line*" 

Where or why are you reading/writing "Text Above Dim Line*"

>>"but "*" is not."

What is that * ????????????

 


>>"And "Above dim line" is not."

It works the same way as the other one (BUT I can not see the macro/command you are using),

if it is the original one, it should work - the command is AI_DIM_TEXTABOVE

 

 
 

 

 

Sebastian

Message 15 of 23

Vuxvix
Advocate
Advocate

Hi!
>>What is that * ????????????
I Mean:...I want to apply" Text Above Dim Line*" to multiple select objects at once. but " Text Above Dim Line*" doesnt work for all at once.
>>if it is the original one, it should work
It only executes for each selected Obj one by one.

0 Likes
Message 16 of 23

cadffm
Consultant
Consultant

Share some data, so we can check 

 

Productname&Version? Screenshot of ABOUT dialog is welcome.

 

CAD Data, one DWG with two of your dimensions please.

 

-

 

I tried it with AutoCAD 2021.1.3 and dimlinear  and it works for my dimensions

Sebastian

0 Likes
Message 17 of 23

TheCADnoob
Mentor
Mentor

The AI_DIM_TEXTABOVE should do what you need.

 

CADnoob AI_DIM_TEXTABOVE.gif

CADnoob

EESignature

0 Likes
Message 18 of 23

Vuxvix
Advocate
Advocate

Hi!
The attached file is an example of the problem I'm having. Thanks
>>>Productname&Version? Screenshot of ABOUT dialog is welcome.
Autocad 2018.1.2

0 Likes
Message 19 of 23

Vuxvix
Advocate
Advocate

CAD 2021 test.JPG

Text Above Dim line Macro.JPG

This is my Default :Text, Above dim line.
Is it different from yours?
P/s:I did it the same way you did(Autocad 2021). But it doesn't change anything.
I noticed, when I enter the command, autocad won't execute the command. I can only execute the command (Above Dim line) from the right click pop-up. while "Text home" can be done in any way (command input, pop-up, shortcut).

Message 20 of 23

cadffm
Consultant
Consultant

 

 

 

>>"This is my Default :Text, Above dim line. Is it different from yours?"

No, as you can see it use same command as I mentioned.

 

>>"But it doesn't change anything."

You described it (or it sounds for me} as working for one object but not for multiple.
But that's not true and I was right with my guess, you're trying to edit a dimension that you can't edit with it,
it doesn't work for one dimension object either, OR? why should it work for 2 or 100?

Mark such a dimension and look in the properties, the values for text position are gray.

( This is due to the individual properties of the object )

 

_

 

I also wonder why two Lisp files are now appearing without a word
and I'm even more amazed that you have a function in it that solves exactly this problem {DTA2}.

Now I don't even know what you want and why. laugh.

 
 

 

 

Sebastian

0 Likes