×
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

I need to draw a path in AutoCAD for a robotic

I need to draw a path in AutoCAD for a robotic

I need to draw a path in AutoCAD for a robotic

(OP)
I need to draw a path in AutoCAD for a robotic dispensing application. Does anyone know how to get the coordinate data from AutoCAD into Visual Basic 2005?

RE: I need to draw a path in AutoCAD for a robotic

Are you talking about a polyline or something like that?

"Everybody is ignorant, only on different subjects." — Will Rogers

RE: I need to draw a path in AutoCAD for a robotic

(OP)
Yes a polyline. Do you know how it is done?

RE: I need to draw a path in AutoCAD for a robotic

(OP)
I’m using AutoCAD 2004 and it has a VBA editor, maybe we can write a small macro to analyze the shape (polyline?) and dump its coordinate data to a text file.

Then I could just read that in from VB.net. Do you have any idea where to go to get a sample VBA macro that does this?

RE: I need to draw a path in AutoCAD for a robotic

Hopefully this is not too late! Once you path is drawn out do a listing (LI command) but make sure the UCS is in a position whereby  the X and Y values are useful to you. Invoke F2 key and X & Y values will be presented to you.  Highlight for  Copy to clipboard and Paste into you spreadheet.  Since there will be extraneous info, you will have to modify your spreasheet so that only X and Y's will show up.  Note Copy to and Paste from will allow only a certain amount of info, therefore, you may have to repeat  copy and Paste several times  

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