Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto create parts from excel-file

Status
Not open for further replies.

Molgan

Mechanical
Joined
Oct 15, 2002
Messages
25
Location
SE
Hi,

I want to have a macro/API to do the following:
1. Create a new part.
2. Read 3d-coordinates from the first line in a file (ie excel)
3. Sketch lines between the coordinates
4. Make an extrusion from the sketched lines.
5. Save the part as part1.sldprt
6. Create a new part.
7. Read 3d-coordinates from the second line...
...extrude
...save the file as part2.sldprt
3rd line
part3.sldprt
and so on...

Is this even possible?

Thanks,
Magnus
 
fantastic!
Can you tell me how? Please....
 
rstupplebeen:
Thanks for the macro. But i'm looking at somewhere around 2000 configs...
 
It would be a very ambitious first macro. If you've never written macros before (which it sounds like you haven't), it would take you longer to learn enough to write this macro than to create your 2000 parts manually. Maybe someone will have time to work for you for free, but it's not me today.

-handleman, CSWP (The new, easy test)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top