Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng 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
Joined
Mar 27, 2004
Messages
37
Location
US
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..
 
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

Back
Top