• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

solidworks double rescue

is it possible to save the files with the name of a property of the same instead of the file name equal to that of departure?
 
Actually you could already do it!!!:mixed:
If you attack a macro at the pre-Save event, you will borrow the value of the property you need and store it together with the file name.
attaching another macro to the post-saving event, renounce the stored file (which would be the just saved one) with the new extension and renounce it with the vba.

the potential and flexibility of events combined with the macro library is just this, it allows you to do more than you can imagine,
without any efforts.
 
I agree with your solution to save the file to a sub folder and make it create if it does not exist.
 
Has anyone tried rev.3 thoroughly? Does it seem useful or superfluous?
Good day to all
 
hi jenuary, I think it's a great job even if I don't need to try it all the way to the bottom x see if everything works well.
 
thanks again jenuary, place here my request, as from my post http://www.cad3d.it/forum1/threads/49393-prima-macroI would like to ask, besides me, if anyone would be interested in changing a specific property to all parts and assembling a folder?

one thing for jenuary I would not want the ready jelly, the macro I would like to realize it, or at least try it and then add it, share it.. . .
or at least try. . .

Today I can't be sure but for the week I would like to install your super macro and see the operation

Hi.

Thank you.
 
Here we talk about panettone, not parrot...:wink:
copy and paste part of your code from your macro to the new one, follow the instructions in the attached manual to savebackgroud for the names to give to the macro modules to connect.
You will see that it will be quite simple, if you need I follow you.

Hi.
 
I have no words I can't close my mouth, you're a great...... nothing else to add.....

Hello and thank you I don't need neache to change my macro...... .

you can no longer add reputation.......:finger:
 
good Monday to all,
finally as promised I created rel. 3.0 of the program, with important implementations:
  • for all three environments, part, table, together, I inserted a flag that allows to launch one or more macros (two) before and after the “save” command event through a dedicated tab, therefore you will find a dedicated panel for setting the macros to be launched.
  • I have inserted a dedicated panel for batch opening and saving of a custom file list, in order to be able to automatically export or edit the files by setting macros; works as a scheduler to understand.
  • with the installation will create a director with three under directors for macros, one for each environment; I have inserted a macro for environment, which in this case performs the optimized view. attacking this macro at the pre-save event, the optimized view will be performed; I have inserted this macro to start, because for those who export jpeg files for preview it is correct that it is saved with the center view otherwise it serves then little.
We could over time create a whole set of macros that perform something before or after the rescue.
for example if you want to change the display mode of the tangent edges at the table only for export, we will connect a macro that changes this mode in the table pre-save and another that restores the old mode after saving.

for installation I created a ".exe" file that will install the plug-in; for those who had already installed rel.1 or 2 there is no problem, will be overwritten automatically.
inside the archive rar you will find a small manual with explanations of how it works and opportunities that will give you this version, mandatory to be able to fully exploit the features (see also the page dedicated to macros).

I hope you can be of great help... in the case of problems or explanations about it let me know, I tested it but something always jumps out, it seems impossible.

Hi.
tested in depth with solidworks 2016 sp.3.
One word, thank you!
 
Hi, jenuary.
thanks many for the 3.0. I also as pech usually use to separate pdfs and dwg into subfolders that I generate through macros after saving the table. the macro simply creates the 2 folders and saves/overwrites the dwg or pdf files. Would it be possible to integrate it into a possible future release with subfolders for the various extensions you carry? Thank you very much.
 
Hello everyone
I am using this super macro for a while with satisfying I would say; but there is something that bothers me; Why does the macro create a tab in the command manager and cannot remove it? or better remove it but then next start solid everything reappeared....

Thank you.

I'm wrong
 
Hi, Teseo.
not being a macro but a plugin, it is the start of solidworks to activate it in the taskpane, in the command manager and in the toolbox, otherwise you have to delete it directly in the code, I do not think that solidworks allows to disable the commands you do not need.

alternatively in the time you are not using it you can go on tools-> Added and remove the tick on cad3d so turn it off, you can activate it whenever you want without having to relaunch solidworks.
 
Hi, Teseo.
not being a macro but a plugin, it is the start of solidworks to activate it in the taskpane, in the command manager and in the toolbox, otherwise you have to delete it directly in the code, I do not think that solidworks allows to disable the commands you do not need.

alternatively in the time you are not using it you can go on tools-> Added and remove the tick on cad3d so turn it off, you can activate it whenever you want without having to relaunch solidworks.
thanks jenuary of the answer, but what I meant is that the command manager can customize; so if I disable the command manager card and save customization, how then to reboot again?

It is obvious that the plug in is cool, it was just a finesse all here

Thank you.
 
hi, sorry, could anyone insert the macros that you use with this module explaining its function?

Thank you 1000!
 
tested on solidworks 2014 for export of .step and pdf.
It works perfectly.
compliments for your work.
(y)(y)(y)
 
You can.
I think it's time to create rel.4.0....
I think in a few hours I'll try your addin because it gets interesting, especially without pdm.
However, the shameful thing is that solidworks retailers do not know these things and do not know that they exist... .

when r4.0 with separate folders?
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.

Back
Top