overlapping Texts in Dimensions

overlapping Texts in Dimensions

Anonymous
Not applicable
426 Views
1 Reply
Message 1 of 2

overlapping Texts in Dimensions

Anonymous
Not applicable
hi,
I need to reposition the dimension text while i am using dimaligned.By default, the text position is at the center of dimension line.
The simplified version of my probem is when dimensioning between opposite corners of a rectangle, the two dimension texts will overlap each other. I need to avoid that.

Although i can use: dimaligned.testPosition but it is difficult to calculate the new position, NewTextPosition should remain alighned with dimensionline

The only why i can find is calcluate vectors between startPt & EndPt of each dimension and then move text in the direction of vector. I dont know if it will work or not.

Has some one got any ideas or code please.
0 Likes
427 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
> The only why i can find is calcluate vectors between startPt & EndPt of > each dimension and then move text in the direction of vector. I dont know > if it will work or not. This is right.. ExtLine1Point and ExtLine2Point are Variant Arrays containing your WCS coords... Test your TextPoints aganist these or vice versa... [ExtLine1Point] in Dev Help for syntax gl "irfan" wrote in message news:17776749.1107347203737.JavaMail.jive@jiveforum1.autodesk.com... > hi, > I need to reposition the dimension text while i am using dimaligned.By > default, the text position is at the center of dimension line. > The simplified version of my probem is when dimensioning between opposite > corners of a rectangle, the two dimension texts will overlap each other. I > need to avoid that. > > Although i can use: dimaligned.testPosition but it is difficult to > calculate the new position, NewTextPosition should remain alighned with > dimensionline > > The only why i can find is calcluate vectors between startPt & EndPt of > each dimension and then move text in the direction of vector. I dont know > if it will work or not. > > Has some one got any ideas or code please.
0 Likes