×
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

Adding Dimension to Assembly View in Drawings using API

Adding Dimension to Assembly View in Drawings using API

Adding Dimension to Assembly View in Drawings using API

(OP)
Hi:

Sorry about last post.  I felt I needed to specify that it was and API issue.
I've been looking for a way to do this for a few days, but I've yet to find or understand how it's done.

http://img19.imagevenue.com/img.php?loc=loc105&image=17650_tseriesAssm.JPG

http://img152.imagevenue.com/img.php?loc=loc247&image=17656_tseriesDraw.JPG

As you can see, I've posted to pic.  One of the Assembly and one of the drawing.  Both are made completely from scratch through a program I have been writing.  Basically, I make all parts and import into new assembly.  Parts and Assembly are saved in a specific folder.  I've finally completed the assembly(very tired), but have run into some real issues when trying to create drawings.

I've created a new drawing and inserted plus rotated a new view of the assembly.  I am having alot of trouble trying to place new Dimensions driven off of specific edges.  btw, dims on drawing are manually placed.

What I was really asking was if I can pick certain edges or features and create dimensions and place them certain distances away from starting point.  Is there a reference for programming in vb.net other than help?

Also, I was curious if anynoe else is delving this deep into automating SW.  I am having alot of fun making my job obsolete.

Regards,
John Fourhman

RE: Adding Dimension to Assembly View in Drawings using API

(OP)
Well,
  I figured out how to dig into the Drawing and place Dims in specific features of Assembly.  Had to make acall like so...

boolstatus = drawingExt.Extension.SelectByID2("PlaneFrontTab@" & AssyName & "-1@Drawing View1/4902-01-1@" & AssyName, "PLANE", 0, 0, 0, False, 0, Nothing, 0)

Really had to dig deep on this one.

John

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