Submitted by jamkhp on Fri, 10/02/2015 - 04:18
Forums:
Hello All,
I am working on a application which will import the existing model(2d curves with dimensions), into drafting sheet of new model.
and I ma not able to handle the dimension text location properly, Even If I set the origins manually in the template and when it is imported it stays put. which is fine. but however, I also have to provide the options of moves these curves or scale them.
so that means the dimensions have to retain their location relative to object.
but that is not happening.
Please help me by providing a code snippet which can retain the dimension text location if the object relative to the object, is scaled or moved.
I am using VB.
Thank you.
re: dimension origin
If you are using NX 9 or above, look up "margins for dimensions and annotations" in the NX help file. I think it may be what you are looking for.