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 JAE on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

DXF Import as a part

Status
Not open for further replies.

Siddesh pharakate

Mechanical
Joined
Dec 4, 2022
Messages
3
Location
IN
Can someone please help me with a macro to import dxf layers as separate sketches in a solidworks part file?
I'm not familiar with writing macros.
 
As long as you import as new part you should be able to do that with a tickbox on the second page of the import dialogue box, without the need for a macro, but it does rely on layers actually having been used instead of just different colours.

Is that not working for you?
 
Hi, Thanks for your response. Yes it works for me but I'm trying to get it done through a macro in order to save time.
 
You may need to incorporate additional API references outside of SolidWorks to sort out layers in a DXF.
 
Thanks, I'll see if i can find something on that.Great help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top