×
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

autodimensioning

autodimensioning

autodimensioning

(OP)
I'm working on a macro, and want to dimension some pipe. all i really need to dimension are the centre lines.

i've got code that uses get centrelinesketch and getlines2 which returns an array that has data for all the centre lines in the view i've selected.

the example they have for getlines2 in 2005 is wrong, by the way. it assumes each line has 7 items of data, when each one has 12.

once i've got the sketch of centre lines, i want to add dimensions to the view in the drawing based on those centre lines. the autodimension on the sketch returns true, but after that, there's no dimension values anywhere to be found.

is this the right logic? is it ok to apply the autodimension to the centrelinesketch, or does it have to be applied to the view? if so, how do i select only the centerlines in the view?

also, what are the units for the x,y,z values in getlines2? they don't make any sense to me....

RE: autodimensioning

(OP)
assuming that the fact that autodimension2 returns true means that the dimensions have been applied to the sketch,

can i get them to show on the view in the drawing?

i've seen something here talking about flagging dimensions to be shown on drawings, but i really don't understand what i need to do...

help!

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