Catafratto
Guest
I want to share the soperta I did today: how to run the vba macros automatically.
in the past, it could be done, but in the last versions of inventor the possibility had been removed (in old post the thing was widely treated) and introduced ilogic that offers many possibilities but for which basically you have to rewrite what previously worked perfectly. I had never noticed this command:
inventorvb.runmacro("project application", "modulo1", "testautorun")
that allows ilogic to make "partire" the macro "testautorun" (the preferred macro name) contained in the "modulo1" of "project application" (alt-f11 to go to the vba editor)
In practice you can create an ilogic rule, activated by the preferred event trigger (e.g. before the rescue), which starts one or more macros, such as the one that exported pdf/dxf/dwg or that of the scales in cartiglio so much to understand.
the thing can be really useful to recover old utilities that were automatic and are no longer, without needing to remake everything.
I hope this is useful to someone and if it was already known... ignore the post!
Good Friday to all!
in the past, it could be done, but in the last versions of inventor the possibility had been removed (in old post the thing was widely treated) and introduced ilogic that offers many possibilities but for which basically you have to rewrite what previously worked perfectly. I had never noticed this command:
inventorvb.runmacro("project application", "modulo1", "testautorun")
that allows ilogic to make "partire" the macro "testautorun" (the preferred macro name) contained in the "modulo1" of "project application" (alt-f11 to go to the vba editor)
In practice you can create an ilogic rule, activated by the preferred event trigger (e.g. before the rescue), which starts one or more macros, such as the one that exported pdf/dxf/dwg or that of the scales in cartiglio so much to understand.
the thing can be really useful to recover old utilities that were automatic and are no longer, without needing to remake everything.
I hope this is useful to someone and if it was already known... ignore the post!
Good Friday to all!




