×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

dimensioning thru VBA

dimensioning thru VBA

dimensioning thru VBA

(OP)
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..

RE: dimensioning thru VBA

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

RE: dimensioning thru VBA

(OP)
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 ?

RE: dimensioning thru VBA

(OP)
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 ?

RE: dimensioning thru VBA

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources