-
Re: Auto start macro with shortcut, equation triggered or addin?
Deepak Gupta Sep 21, 2018 5:10 PM (in response to Rinze Wels)Instead of macro, have you tried looking into using a design table with predefined properties into the model? You can use the excel functions to extract the required values and add them to other properties.
-
Re: Auto start macro with shortcut, equation triggered or addin?
Rinze Wels Sep 22, 2018 8:56 AM (in response to Deepak Gupta)Hi Deepak,
Thanks for the quick response.
I didn't look into using a design table for I didn't know that was possible :-)
I suppose you still need a manual action in that case to extract the strings from the file name right?
-
Re: Auto start macro with shortcut, equation triggered or addin?
Deepak Gupta Sep 22, 2018 9:52 AM (in response to Rinze Wels)Rinze Wels wrote:
Hi Deepak,
Thanks for the quick response.
I didn't look into using a design table for I didn't know that was possible :-)
I suppose you still need a manual action in that case to extract the strings from the file name right?
You just need to use the formula to get the required details. Check the picture below.
-
Re: Auto start macro with shortcut, equation triggered or addin?
Rinze Wels Sep 24, 2018 4:20 AM (in response to Deepak Gupta)Thanks again for your reaction Deepak!
It is a interesting solution, but for now a bridge too far for me. Before last Friday I didn't know what a macro was . I will investigate the combination with Excel later for sure. For now the autorun macro suits my demands.
-
-
-
-
Re: Auto start macro with shortcut, equation triggered or addin?
Artem Taturevych Sep 21, 2018 8:28 PM (in response to Rinze Wels)I would recommend macro feature. Take a look at this macro which can run your macro automatically on rebuild and also embed all of the data directly to the model so it can be run on any computer without any changes: Automatically Run Macro On Rebuild
-
Re: Auto start macro with shortcut, equation triggered or addin?
Rinze Wels Sep 22, 2018 8:56 AM (in response to Artem Taturevych)Thanks Artem
That might work! I will dive into it the upcoming days.
For now 1 question:
It seems that you still have to run the start up macro manually. When I run this macro and save the part as template, I don't have to run it anymore in future parts right?
-
Re: Auto start macro with shortcut, equation triggered or addin?
Artem Taturevych Sep 22, 2018 3:58 PM (in response to Rinze Wels)Yes, correct
-
Re: Auto start macro with shortcut, equation triggered or addin?
Rinze Wels Sep 24, 2018 4:14 AM (in response to Artem Taturevych)Yes, it works very well! Thank you very much!
Initially I thought the start up didn't work, but that was because the macro starter was not triggered for there was nothing to rebuild.
In my case it might be good when the macro also starts when the document is saved. I guess I have to edit the start macro for that. However I expect to find something on this forum to manage that, I would be pleased when I could get a push in the right direction.
-
-
-
-
Re: Auto start macro with shortcut, equation triggered or addin?
Mr Omkar Deshpande Sep 24, 2018 3:01 AM (in response to Rinze Wels)I tried
1. Macro Feature
2. Changing rebuild icon and short cut key to my macro (which also included rebuild action)
3. Finally settled on add-in (it also helps me for other requirements)
-
Re: Auto start macro with shortcut, equation triggered or addin?
Rinze Wels Sep 24, 2018 4:29 AM (in response to Mr Omkar Deshpande)Hello Omkar,Thanks for your reaction!
Seems that there are a lot of good ways that leads to Rome. For me this (autostart)macro feature works well for now. The second option will also work for sure, but only at my workstation. I place the add-ins on my list to investigate when I progressed a bit more with SW. Thanks
-