Hello,
we are using Inventor Professional 2015, SP2 update 6 with network licenses in our company. Since a few weeks we have problems with the VBA plugin. If someone logs on to a new computer using his Windows network user account, the VBA Plugin doesn’t work. You can open the VBA plugin but it’s “dead” (see the picture below) – you can’t even open a project manually.
The strange thing is: if you log on to a computer you have been logged on to before, everything still works.
I work as a design engineer and have no idea what to do. We have asked out IT department for help but they also couldn’t solve the problem.
Thanks for your help.
Solved! Go to Solution.
Hello @Anonymous
Have you tried to run the Inventor program as Administrator (right-click the icon or maybe shift+right-click, and thenselect "Run as Administrator...")?
At times it has been beneficial to run Inventor as administrator the first time a new user logs on a machine.
Regards,
Jens Bejer Pedersen
Developer, Symetri A/S
Hello jens.bejer.Pedersen,
thank you for the hint.
I tried running Inventor as administrator but it didn't help.
It made the situation even worse - I had no access to the network drives anymore.
Regards
Hello @Anonymous
Yea that should probably have been expected.
When you run as administrator, that process would not have access to the mapped drives of the normal user.
I should probably have said try to start Inventor and the VBA (Alt+F11) as administrator, stop both again and then try as the normal user.
Sometimes this fixes some issues with proper registration in the registry.
There is also some command line arguments to the Inventor program that might be usefull:
Autodesk Inventor Professional 2018
Command line help
IMPORTCUSTOMIZATIONS - Import customization settings from a specified XML file
IMPORTOPTIONS - Import application options from a specified XML file
IMPORTRIBBONCUSTOMIZATIONS - Import Ribbon customization settings from a specified XML file
INSTALL - installs all required registry settings
LANGUAGE - Launch with a specified available language pack
NOSTARTUPCOMMAND - Don''t open a file or create a new one on start up. Often used with RunTextCommandFile
RUNTEXTCOMMANDFILE:<FILENAME> - Runs a file containing text commands. Can be combined with NoStartCommand
UNINSTALL - removes all registry settings, resulting in a loss of user preferences
The /INSTALL argument could maybe help?
Regards,
Jens Bejer Pedersen
developer, Symetri A/S
Regards,
Arthur Knoors
Autodesk Affiliations:
Autodesk Software:Inventor Professional 2024 | Vault Professional 2022 | Autocad Mechanical 2022
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:Drawing List!|Toggle Drawing Sheet!|Workplane Resize!|Drawing View Locker!|Multi Sheet to Mono Sheet!|Drawing Weld Symbols!|Drawing View Label Align!|Open From Balloon!|Model State Lock!
Posts and Ideas:Dimension Component!|Partlist Export!|Derive I-properties!|Vault Prompts Via API!|Vault Handbook/Manual!|Drawing Toggle Sheets!|Vault Defer Update!
! For administrative reasons, please mark a "Solution as solved" when the issue is solved !
Hey @Anonymous,
Please do following check:
On the new computer, check inventor's Application options: Find Default VBA project settings in File tab.
Is it pointing to a Default.ivb file?
If yes, try to check whether Default.ivb file can be accessed manaully with the login user.
If not, please specify Default VBA project to a certain path which the login user can access it.
Can't find what you're looking for? Ask the community or share your knowledge.