AutoDesk Inventor 2015 on Windows 10

AutoDesk Inventor 2015 on Windows 10

Anonymous
Not applicable
1,029 Views
4 Replies
Message 1 of 5

AutoDesk Inventor 2015 on Windows 10

Anonymous
Not applicable

Hello Everyone

 

I have system with Autodesk Inventor 2015 installed on Windows 10. 

 

Following code in VBS is having issues while getting the object (ActiveX component can't create object: 'GetObject')

GetObject(, "Inventor.Application") 

 

I have tried following combination 

GetObject(, "Inventor.Application.1")

 

But not luck. 

 

Any help would be appreciated. 

 

regards

Vivek 

0 Likes
1,030 Views
4 Replies
Replies (4)
Message 2 of 5

TheCADWhisperer
Consultant
Consultant

@Anonymous wrote:

 I have system with Autodesk Inventor 2015 installed on Windows 10.  


What version of Autodesk Inventor 2015?

0 Likes
Message 3 of 5

bradeneuropeArthur
Mentor
Mentor
try this:
dim _InvApp as application
_InvApp = GetObject(, "inventor.application")

but exactly lowercase

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
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:
My 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 !


 


EESignature

0 Likes
Message 4 of 5

Anonymous
Not applicable
Thank you for prompt suggestion. Since I am trying to code in simple vbs file, this code gives me error. The line
"dim _InvApp as application" gives me issues.
In addition, I changed the UAC setting, checked thr PrgID in regedit and changed name of application name but still I cant hold of that Inventor object.
Is there any way to get the correct PrgID from ROT (Running object table), I can not get any microsoft cerftified x64 application for Win 10 for such.
0 Likes
Message 5 of 5

Anonymous
Not applicable

Professional 2015. Build 159, Release 2015

0 Likes