Let me explain, I would like to create for example a concentric ISO reduction. So there is a small diameter, a large diameter and a length that depends on the 2 diameters (3 times the difference in diameter).
So I would like to put all of it in a library, and when I do a drag and drop it asks me for my small diameter and then my large diameter and it would build the reduction as it should.
Hello
Yes, it is possible by creating a library function:
http://help.solidworks.com/2012/French/SolidWorks/sldworks/Create_Library_Feature.htm?id=bab79dcc33604808b094025cdb18cddf#Pg0
Or here:
http://bib.altitech.free.fr/aide_altitech/generalites/mfb2_.htm
@m.anger it was me who asked the question but this is not the same thing.
@Lucas The goal is not to put the function in a library but to put the file with its different conditions so that when I drag solid into an assembly, and then it asks me for its conditions.
OK it's to insert several components, I had misread. This will not be possible in Solidworks without creating a VBA macro (see my tutorial to get started in VBA: http://www.lynkoa.com/tutos/3d/macro-enregistrer-sous-avec-solidworks ) or using Clonecomponents: https://www.youtube.com/watch?v=UpTBtrVJR8
@ACO and @Lucas So CloneComponents is fine, it does exactly what I wanted to do for me, but it creates another file for me, one for each assembly, when I just wanted to change sides.
With a macro the scenario roughly how would it go?
I'm not in the office until January 6th, so I don't have access to Clone Components, but maybe there is an option to replace the file? Otherwise you have to delete and rename afterwards.
For a macro, if you're a beginner it requires a lot of work. You have to look at the code created when you make a macro by learning (save and then edit): I think I talk about it in my tutorial.
Otherwise look at this link:
http://help.solidworks.com/2012/French/SolidWorks/sldworks/t_record_pause_macro.htm
I called Axemble they will probably modify CloneComponent to create this option but how soon it will be I don't know.
So I'll make do with CloneComponent for now by saving my file in the assembly folder, too bad it will make me a lot of files but in the meantime.... but thank you all
I called Axemble they will probably modify CloneComponent to create this option but how soon it will be I don't know.
So I'll make do with CloneComponent for now by saving my file in the assembly folder, too bad it will make me a lot of files but in the meantime.... but thank you all