Inventor 2021 took away VBA, what to do now?

Inventor 2021 took away VBA, what to do now?

jblower
Enthusiast Enthusiast
1,909 Views
8 Replies
Message 1 of 9

Inventor 2021 took away VBA, what to do now?

jblower
Enthusiast
Enthusiast

Now that VBA is not readily installed I need to find a path forward.  I'm hoping to just make the jump to VB.net but I'm not certain if it will work or if the only option now is iLogic. 

 

I found a link to a VBA module but I don't want to install if VB.net is still an option.  I'd rather bite the bullet and make the transition so that I can start making plugins but before installing software, etc.   Is VB.net through MS Studio still work w/ 2021?

 

0 Likes
1,910 Views
8 Replies
Replies (8)
Message 2 of 9

ianteneth
Advocate
Advocate

Hi @jblower,

 

I am unable to find where it is documented that VBA has been removed from Inventor 2021. I did find this known issue in the release notes for 2021 though. Hope this helps!

 

 

Annotation 2020-04-27 123834.png

https://knowledge.autodesk.com/support/inventor/learn-explore/caas/CloudHelp/cloudhelp/2021/ENU/Inve... 

0 Likes
Message 3 of 9

Darkforce_the_ilogic_guy
Advisor
Advisor

so not hope that is true ... because then i need to find a new way to make my marco work .. does anyone know if it is an error or they have remove it ?

0 Likes
Message 4 of 9

jblower
Enthusiast
Enthusiast

So as far as I know, it's not gone away exactly but has some separate installation to use it.  The message I got in the link ADSK sent was that some aspect is no longer supported by microsoft.  So it no longer comes with the installation.  This makes things difficult at my company as we now need a way for IT to set that up which is a pain. 

 

Looking down stream, this doesn't seem to be a comforting thought that it will remain unhindered forever.  In the meantime I'd have to use iLogic which I'd need to learn VB to do the sorts of things I need to do anyway.  So I'm hoping we can use Visual Studio.  I'm trying to avoid going through the headache of getting that through IT only to find the same issue w/ VBA means I can't use VS.

0 Likes
Message 5 of 9

jblower
Enthusiast
Enthusiast
0 Likes
Message 6 of 9

Darkforce_the_ilogic_guy
Advisor
Advisor

are you still enble to make macro bottom some other way then VBA ? I mostly use VBA to aktive an ilogic code. so if they start supporing an other language is may be very simple for me to simple rewrite the code to an new language.

 

but I would like to know in good time so I would be able to prepare beforce the next time we need to update our software

0 Likes
Message 7 of 9

Yadow
Enthusiast
Enthusiast

Hi,

Just wanted to try out a trial for Inventor 2021 since I am about to upgrade to it and I noticed that the VBA manager was at the same position (Tools-tab) as it is in Inventor 2018. Although, I read on this link that they would remove it from 2021... Have they revoked that statement or what is happning? Removing the VBA editor would be a big loss of usability imo.

https://knowledge.autodesk.com/support/inventor/downloads/caas/downloads/content/download-the-micros...

0 Likes
Message 8 of 9

jblower
Enthusiast
Enthusiast

I've fully transitioned to VB.net.  It really is nicer once you get going but I was hesitant as it's fairly intimidating to start up.  What sucks is transitioning the old code over. 

 

As far as I know the VBA module works smooth.  The problem is that I work for a large company where IT has tons of red tape.  So while before I could just send another user the vba code and they could work, they now need to go through worlds of headache to get the module loaded.  It's better from our end to just work VB.net and send people executables or create an inhouse add-in.

0 Likes
Message 9 of 9

Darkforce_the_ilogic_guy
Advisor
Advisor

I have been working on fixing that problem. and have what seens to be working.  you can copy all the files that is needed to the vault and make an commmand script to install it. 

 

If you want to you should be able to get the task manager(believe it is call) to install all your new change at start up... or you can do as we will do .. simple make all user download the new version and run the command script file to install it .

 

I might be able to fix up some code for you  if you want to test it out  🙂

 

 

 

 

 

0 Likes