Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross 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
Dec 4, 2022
3
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.
 
Replies continue below

Recommended for you

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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor