Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

dimensioning thru VBA

Status
Not open for further replies.

rwbaker

Computer
Mar 27, 2004
37
I am trying to add a linear dimension to a drawing
and i am having trouble figuring out the parematers for adding a linear dimension

any examples would be much appricated..
 
Replies continue below

Recommended for you

Depending on which space you are in (model or layout) or in a block, you would add it too that object eg thisdrawing.modelspace.addDimAligned (extLine1Point, ExtLine2Point, TextPosition)

"Everybody is ignorant, only on different subjects." — Will Rogers
 
Thanks for the reply
I am in model space

I did get the dimensioning to work but how can i control where the dimension line will be ?

Is this the TextPosition ?
 
Guess I answered my own question...
textposition does control final location of text.

now another question

How can i use the dimension setting that are currently saved with the drawing ?
 
You will need to make the style you want current and then its creation is controlled by the style.

"Everybody is ignorant, only on different subjects." — Will Rogers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor