I'm looking for a solution that is not too complicated to convert all the parts of an assembly created on solidworks to the AP214 step format. I think the easiest way should be to go through a macro? The fact is that I have more than 1000 assemblies composed of a hundred elements each. So I wondered if I could save myself from having to go through the recording of each of the elements one by one.
In short, if you have an idea that could help me, I'm all for it... Thank you in advance. :)
Thank you d.roger, I'll look into it in detail. On the other hand I don't know if I'm not going too far there... Or I'm going to ask for training as a macro coder in my next personal interview with my boss. I'm more than new to using macros. So, it scares me a little, I must admit. I'm going to read this more closely to start.
- Analysis of the list of components of this assembly.
- for each component, opening it, saving it in step format, closing the 3D.
- Save the parent assembly in step format.
- Closing this assembly.
- Opening of assembly n°2.
- Same treatment as for assembly 1.
and so on....
Be careful, it is necessary to manage the fact that one of the child elements can be an assembly, so it must also undergo the processing on these child elements.
Another point to manage is that an element can already be converted to a step and therefore does not need to be reprocessed.
Given the number of assemblies and the number of components announced, I hope you have a little time ahead of you: 1000 assemblies x 100 parts x about 20 seconds per part must be about 550 hours of non-stop processing, it's also an important point to manage in terms of the risk of errors ....
In fact, these assemblages are divided into zones. Each zone is composed of 20 to 40 assemblies. I have a schedule to respect on the sending of each of the zones. So I think it's doable since I have 2 to 3 weeks between each area before they are transmitted. So I was thinking of generating my steps at night when no one would have to be bothered by the creation of these files. Originally, I was asked for the step of the assembly (which I have already prepared). But I have just been asked now if I can also supply each of the parts separately in step format. Before I tell them that it's not possible, I prefer to see all the possibilities available to me. And if they manage to find a solution for me and I can do it, so much the better. In any case, thank you...
If you don't know programming, I recommend Frédéric's solution which is the simplest, just take the MyCad suite which will surely have a lower cost than the time you will spend struggling with a method that you don't necessarily master.
In addition, you can run this via the taskplanner (MyCad tool as well) by scheduling it at a certain time.
When you look at the time to spend and the time to gain, the option is not that expensive.
I'm going to check out the MyCad page to see if it's possible at first and if this product can be sold in Switzerland (and that's where I'm afraid it won't work). I imagined at worst asking an intern to open the assembly, launch a macro like "analyze the parts, save the parts individually in *step AP214 format, close the assembly". Each piece cannot have a duplicate because it is unique to the location of the area, so I don't have to try to see if the share has already been converted in the past.
THANK YOU MAX59!! I have just discovered this wonderful tool (we learn a lot every day). As a result, the deal is over. And thank you to everyone who participated.