TheSwamp
Code Red => .NET => Topic started by: Keith Brown on September 21, 2016, 09:46:57 AM
-
In AutoCAD I can set the dimension text direction of a RotatedDimension using the property Dimtxtdirection, but in Bricscad this property does not exist on a rotated dimension. I went to
https://www.bricsys.com/bricscad/help/en_US/V12/UsrGui/source/10_Drawing_Entities/06_Working_with_Dimensions/10_06_02_Dimension_Settings.htm (https://www.bricsys.com/bricscad/help/en_US/V12/UsrGui/source/10_Drawing_Entities/06_Working_with_Dimensions/10_06_02_Dimension_Settings.htm)
and could not find anything that would help. Any ideas? Thank you.
-
Have a look at TextRotation and TextPosition properties, the direction is a vector from the position with a rotation
-
Thanks Mick, I will look into that. I was hoping it was as easy as just having a flag to reverse it.
-
Ah, you mean to reverse the text, not rotation. Sorry about that.
I think the best you can do is maybe flip the Normal vector of the dimension which should draw it reversed.
btw, I couldn't find the Dimtxtdirection property while searching the AutoCAD help doc's, is this a property in the editor properties dialog?
-
Yes, it is a property on the property palette. I'll try the normal. I was not messing with any of the dimension properties other than the text direction. Everything else was at its default and i was just transforming the entire dimension. I found it easier than calculating all the vectors especially when working with viewports as the view can be from any direction and the dimension must always read left to right and down to up if vertical.
(https://c1.staticflickr.com/9/8419/29246864624_6b68a67538_o.png) (https://flic.kr/p/LyrPUC)