I want to import a step file into currently opened part or assembly file. I see Loadfile method but that is opening as new part not into the currently opened one. So anybody has any ideas on how to do this? Thank you.
When you import an iges or step file, SolidWorks will want to create a SW file, so you need to save the iges file as a SW file, then it will work ok..
Can you let me know if there is anything method to do that please. I want to automate this through C#.
You need to pass i as ArgString parameter of LoadFile4 method. Here is an example: #CODE|Import Foreign File Into an Existing Model
Hi Artem, Thank you for your help. I have solved the importing of Step file into currently opened part file. But need help how to do the same thing into assembly file. Any help on this would be highly appreciated. Thanks Nag
You can import step in part as follows
Thanks for your reply. Actually I am looking for Automation, not to do manually.
Retrieving data ...