Apprentice in VBA

Apprentice in VBA

Andy73
Contributor Contributor
461 Views
5 Replies
Message 1 of 6

Apprentice in VBA

Andy73
Contributor
Contributor
I know it sounds strange but, I am trying to use apprentice in Inventor VBA. Many of the objects work just fine. I would like to set a FileSaveAs object to an ApprenticeServerComponent.FileSaveAs. I can get the ApprenticeServerComponent but some of the objects are in an error state. Is there any way to connect to these objects in VBA?

Thank You
Andy
0 Likes
462 Views
5 Replies
Replies (5)
Message 2 of 6

Anonymous
Not applicable
The use of Apprentice within VBA is not supported. Apprentice cannot be run
in process with Inventor.

Sanjay-
0 Likes
Message 3 of 6

Andy73
Contributor
Contributor
Sanjay;
Would "in process with Inventor" include as an Addin?

Thanks
Andy
0 Likes
Message 4 of 6

Anonymous
Not applicable
Yes, Add-ins typically run in-process with Inventor. It's possible to create
out-of-process Add-ins, but I've never seen them being used. All the SDK
Add-in samples run in-process with Inventor.

Sanjay-
0 Likes
Message 5 of 6

Anonymous
Not applicable
Sanjay,
Does that mean that it is possible to use Apprentice objects within e.g. Excel VBA code that is running out-of-process with Inventor? Do you see any limitations in this case?

ALink
0 Likes
Message 6 of 6

Anonymous
Not applicable
Yes, that's possible. No limitations there as far as I know.

Sanjay-
0 Likes