Apprentice / Workspace issue

Apprentice / Workspace issue

chrisw01a
Collaborator Collaborator
340 Views
1 Reply
Message 1 of 2

Apprentice / Workspace issue

chrisw01a
Collaborator
Collaborator

I have a standalone vb.net app that i need to be able to change the "Inventor.ApprenticeServerComponent.FileLocations.Workspace" property to solve an issue that i'm having with the program using the wrong workspace to get files from.

 

The problem is:

 

When I try to modify the property while inventor is running, I get a runtime error that another process (inventor) is using the file, so it can't be modified.  If i close inventor, I can do it.

 

Its like i need to "pause" inventor for a moment while i change the propterty, but i don't know where to start.

 

There are a couple other people on here I've seen with similar questions, but no answers as of yet.  Sombody help?

 

Chris

0 Likes
341 Views
1 Reply
Reply (1)
Message 2 of 2

chrisw01a
Collaborator
Collaborator

I think i just figured it out.

 

I'm setting the FileLocations.FileLocationsFile to the proper project file and it seems to be working now.

0 Likes