×
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

Automated drawing with AutoCAD2007

Automated drawing with AutoCAD2007

Automated drawing with AutoCAD2007

(OP)
Hi all,

I need to make 3d views of printed circuit boards made in Protel99SE, for enclosure manufacturing. We have AutoCAD2007 at the office, but its embedded 3D renderer doesn't give any dimensional info.
I've made some programs in C to make automated blocks for typical parts like chips, surface mount parts, etc. Protel can also export PCB layers to DWG, but I need to put it all together in a single CAD file.

Any ideas?

RE: Automated drawing with AutoCAD2007

Hi GonzaloEE,

If you have control over the insertion point coming out of your Protel99E, it's not a difficult task to "assemble" it in AutoCAD.  Look into the "Insert" and "Import" commands, both C and VBA/VB/.net support these.

If not, you'll need another tact.  Let us know the specifics you may need help with.

HTH
Todd

RE: Automated drawing with AutoCAD2007

Hi GonzaloEE,

I think you'll be able to use the geometry you've got without too much trouble.  You can write a quick and dirty script to test out your methodology.  A script file is nothing more than an ASCII text file containing AutoCAD commands:
 -Insert
  C:\Filename.dwg
  0,0,0
  1
  1
  1
Once you've gotten the insertion point worked out, you can make the routine more sophisticated with either VB/VBA or C.

HTH
Todd

RE: Automated drawing with AutoCAD2007

(OP)
Thanks, I'll look into it and get back with results.

Regards,

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