Dimension annotation movement

MrLi289
Explorer

Dimension annotation movement

MrLi289
Explorer
Explorer
I tried to use DimStyleTableRecord to create an AligndDimension, but I found that the dimensions of the created annotation text would move when dragged, but the dots would still appear in their original position when viewed. At the same time, dragging the annotation dots would also move, but they would still appear in their original position. Is there a good solution? Thank you
0 Likes
Reply
315 Views
6 Replies
Replies (6)

kerry_w_brown
Advisor
Advisor

@MrLi289 

Without doubt, the first thing you should do is post your full code related to this issue.
Give someone a chance to run the code and explore what is happening.

 

It's possible that someone may recognise the issues you have, but don't count on it 🙂

 

Stay well,

 


// Called Kerry or kdub in my other life.

Everything will work just as you expect it to, unless your expectations are incorrect. ~ kdub
Sometimes the question is more important than the answer. ~ kdub

NZST UTC+12

class keyThumper<T> : Lazy<T>;      another  Swamper

0 Likes

MrLi289
Explorer
Explorer

I created the annotation through the above code and added it to the model space. After dragging the text point, the text does not move along, but the point will move over

0 Likes

kerry_w_brown
Advisor
Advisor

Great, could you re-post the code as a working function please.

 

What is 

.GetEvPoint

 


// Called Kerry or kdub in my other life.

Everything will work just as you expect it to, unless your expectations are incorrect. ~ kdub
Sometimes the question is more important than the answer. ~ kdub

NZST UTC+12

class keyThumper<T> : Lazy<T>;      another  Swamper

0 Likes

MrLi289
Explorer
Explorer

FHIR vPoint is to obtain the midpoint between two points, and then obtain the vertical vector of the point-to-point vector and extend it

0 Likes

ActivistInvestor
Advisor
Advisor

I don't think that anyone can help you with your problem without seeing some code. It could be that your code isn't doing something right but how could anyone tell you that without seeing it?

0 Likes

kerry_w_brown
Advisor
Advisor

Along with your full code related to this issue, 

. . . we'll probably need to see the code referred to in this line ( if you want to use it )

//AlignedDimension baseAlignedDimension = JtCADAnnotation.CreateAlignAnnotations(aaaLine.StartPoint, aaaLine.EndPoint, ObjectId.Null, false, 500);

 


// Called Kerry or kdub in my other life.

Everything will work just as you expect it to, unless your expectations are incorrect. ~ kdub
Sometimes the question is more important than the answer. ~ kdub

NZST UTC+12

class keyThumper<T> : Lazy<T>;      another  Swamper

0 Likes