×
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

How to read dimensions into VB.net and modify/update them?

How to read dimensions into VB.net and modify/update them?

How to read dimensions into VB.net and modify/update them?

(OP)
Hi,

I am playing with VB.net (2010) to control SW2011.  I am trying to do something very simple.  Let's say have a rectangle sketch (with 2 dimensions) extruded into a solid.  How do I use VB.net to retrieve the 3 dimensions (2 for sketch, and 1 for extrusion depth) and update them.  I used to do this with VB6.0.  But with VB.net, I do not know what do.  In the old time, SW always gave sample examples.  But I could find anything with new solidworks.

Can you shed some light on how to perform this task?

Thanks!

RE: How to read dimensions into VB.net and modify/update them?

Sounds like you need to learn VB.net.  The methodology and API calls to do this task are no different in VB.net vs VB6.  The only difference is the syntax.  

-handleman, CSWP (The new, easy test)

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