Display dimension sideways using i-Logic

Display dimension sideways using i-Logic

ysbaodnj
Enthusiast Enthusiast
221 Views
1 Reply
Message 1 of 2

Display dimension sideways using i-Logic

ysbaodnj
Enthusiast
Enthusiast

How to display dimension sideways using i-Logic code?

The dimensions were drawn using ilogic by taking dots as shown below.

ysbaodnj_0-1664870048190.png

However, in the case of a short dimension like the picture below, I want to show the dimension by pulling it out sideways, but how can I do it using ilogic?

ysbaodnj_1-1664870056961.png

 

 

0 Likes
222 Views
1 Reply
Reply (1)
Message 2 of 2

tyler.warner
Advocate
Advocate

Not sure what your current code looks like, but you can try this. It will change the orientation of your vertical linear dimensions. (Reference link)  Or do you want it to still be 'Parallel' & displayed above the line as shown in your pictures?

 

 

Dim oDoc As DrawingDocument = ThisApplication.ActiveDocument
Dim oDimStyle As DimensionStyle
oDimStyle = oDoc.StylesManager.DimensionStyles.Item("YourStyle")
oDimStyle.VerticalDimensionTextOrientation = kInlineAlignedDimensionText

 

 

If this solved your problem or answered your question, please click ACCEPT SOLUTION.
If this helped you, please click LIKE.
0 Likes