I want to center a dimension value above the dimension line

I want to center a dimension value above the dimension line

Dhineshkumar_Murugan
Community Visitor Community Visitor
72 Views
2 Replies
Message 1 of 3

I want to center a dimension value above the dimension line

Dhineshkumar_Murugan
Community Visitor
Community Visitor

I have two planes located at both ends of a channel. This is because the total length may change based on input parameter. Also there may be some parts attached to the end of the channels which shouldn't come under measurement so I chose to use planes. In drawing file I already created a dimension between those two planes. 

The issue is when I try to change the run length of the project the dimension line is still attached to the planes but the dimension value is sometimes coming out of the specified area or not in the middle. 

 

Dhineshkumar_Murugan_0-1759476861536.png

 

I tried to center the dimension text but it didn't work. Also while tinkering this idw file in Inventor I found out that if I toggle the Leader option in Options choice On and then Off then somehow the value is centered. I am trying to implement that in ILogic but it is not working.

 

Dhineshkumar_Murugan_1-1759476965785.png



0 Likes
73 Views
2 Replies
Replies (2)
Message 2 of 3

WCrihfield
Mentor
Mentor

Hi @Dhineshkumar_Murugan.  While that drawing is the 'active' document, go to the Tools tab of the ribbon, then the Options panel, and click on the Document Settings button.  Then go to the Drawing tab in that dialog.  Next, down within the 'Dimension Updates' area, what option do you have active under the control named 'Dimension Text Alignment'.  Making sure that is set to 'View Position And Maintain Centered' may help with that type of situation.

Other than that, we can use the DrawingDimensions.Arrange method, which wants us to gather the specific dimennsions that we want to arrange into a collection, then supply those to the method, then it will arrange them for us.  But that method has some restrictions about which types of dimensions it will work on (not ordinate, baseline or chain types).  Then there is the LinearGeneralDimension.CenterText method also, which is specifically for linear general dimensions, and done on an individual dimension level.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes
Message 3 of 3

Curtis_Waguespack
Consultant
Consultant

@Dhineshkumar_Murugan 

If you go to the Tools tab > Document Settings button > Drawing tab, you should find a setting called Dimension Updates.

 

You can set this setting to Sheet Position and Maintain Centered.


This setting retains centered dimension placement while all other dimensions maintain their positions on the sheet.

EESignature

0 Likes