import a 3d dwg to part
Posted: Sun Jul 10, 2022 6:19 pm
Hey there,
I'm fairly VBA centric, but this one has me flummoxed.
I've got a butt load of old 3D dwg's that I got from KraftMaid years ago, which are cabinet models.
Way back yonder, I used SketchUp to design a kitchen, but I'm doing a new kitchen and want to use Swx.
I can't for the life of me figure out how to import a dwg into a part instead of a drawing or a sketch via the API.
I've got a nice macro for importing folders of step files and saving to SolidWork parts that I was leveraging for this, but SolidWorks is insistent on importing the dwg's either into drawings or sketches.
I can do this manually. I've tried recording a macro doing it and that's useless as running it again imports the dwg as a drawing.
Any thoughts?
Thanks
I'm fairly VBA centric, but this one has me flummoxed.
I've got a butt load of old 3D dwg's that I got from KraftMaid years ago, which are cabinet models.
Way back yonder, I used SketchUp to design a kitchen, but I'm doing a new kitchen and want to use Swx.
I can't for the life of me figure out how to import a dwg into a part instead of a drawing or a sketch via the API.
I've got a nice macro for importing folders of step files and saving to SolidWork parts that I was leveraging for this, but SolidWorks is insistent on importing the dwg's either into drawings or sketches.
I can do this manually. I've tried recording a macro doing it and that's useless as running it again imports the dwg as a drawing.
Any thoughts?
Thanks