Temporarily unload a plugin while Autocad is open

Temporarily unload a plugin while Autocad is open

Anonymous
Not applicable
4,796 Views
12 Replies
Message 1 of 13

Temporarily unload a plugin while Autocad is open

Anonymous
Not applicable

Hi

 

I am working with a small group of people in an office. We have an Autocad license for each computer but we use a plugin called Autoturn which is a single license shared over the network. At the moment, we go through the tedious process of closing all our drawings so that someone else can access the Autoturn plugin.

 

Is there a way we can close the Autoturn plugin by itself without having to close Autocad?

0 Likes
Accepted solutions (1)
4,797 Views
12 Replies
Replies (12)
Message 2 of 13

pendean
Community Legend
Community Legend
Q: how do you all load AutoTurn in the first place?
0 Likes
Message 3 of 13

Anonymous
Not applicable

We all have Autoturn installed on our machines as a network license. The license only allows one computer to use it at a time. The plugin only properly opens up (as if it was an individual application) when you select a function from the Autoturn tab or run a command from the plugin. Otherwise the plugin hasn't actually launched, even though it is visible on the tabs. I guess you can say the plugin is dormant until you use it.

 

The problem is when someone selects a function on Autoturn and they are done using the plugin, the only way another person can access the plugin is if the original user completely closes AutoCAD, not just the drawings that were using the plugin. 

0 Likes
Message 4 of 13

user181
Mentor
Mentor

Isn't Autoturn a menu you can load and unload with the menuload command?  If so you could probably just make a profile that has it loaded and one that doesn't and switch between them.

0 Likes
Message 5 of 13

Ed__Jobe
Mentor
Mentor

@user181 wrote:

Isn't Autoturn a menu you can load and unload with the menuload command?  If so you could probably just make a profile that has it loaded and one that doesn't and switch between them.


@user181 A menu doesn't contain the commands it runs, which would still be loaded if you unload the menu.

 

@Anonymous It sounds like AutoTurn is a .NET dll that can be set to load the first time a command from it is called. If that is the case, then it can't be unloaded. You have close AutoCAD. Sorry. You can verify if this is the case using the ARX command select the COMMANDS option and then hit ENTER to list them all. If you see the Command Group for AutoTurn listed, then it is either an arx or .NET dll.

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

Message 6 of 13

dgorsman
Consultant
Consultant

Kinda-sorta on the loading/unloading.  Yes, once loaded it cannot be unloaded.  The method of loading may be through a number of means, most of which have a "demand load" option which only loads the module (and calls for a license) when a command is called.  By default most add-ins load at start-up to keep things simple.  The loading process, and how you can control it, should be nearly the same as the more common Raster Design add-in.

 

If this uses an ACAD.RX file (look for the first one in the Support file search path), then it will have an entry for the AutoTurn module.  The only ways to handle this is to either remove the entry, then manually load the module when you need it; or to have different profiles with different search paths that point to different ACAD.RX files (one with, one without).

 

If this uses registry loading, find the registry entry for the AutoTurn module.  There is a flag value which controls how it's loaded (on start-up, on command call, etc.), which will need to be changed to a different value.  I don't have those precise values handy right now, perhaps others could chime in.

 

If this uses package loading, find the XML file for the Autoturn package.  It can be edited in notepad or other plain text editor; there will be a loading method value in the file similar to registry loading.  Again, I'll have to leave the precise details to others.

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
"I don't know" is the beginning of knowledge, not the end.


0 Likes
Message 7 of 13

Ed__Jobe
Mentor
Mentor

If you do find that AutoTurn uses an *.arx, that can be unloaded using the UNLOAD option of ARX. However, I'm not certain that simply unloading a dll will release a license. It should, but I can't be sure.

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

0 Likes
Message 8 of 13

pendean
Community Legend
Community Legend
I bet if you contact the author they could tell you http://www.transoftsolutions.com/contact-us/
Message 9 of 13

gotphish001
Advisor
Advisor

They will probably just tell you to buy multiple copies. I was going to suggest that too until I saw how much it cost. No wonder why you only have 1 copy of it. 



Nick DiPietro
Cad Manager/Monkey

Message 10 of 13

pendean
Community Legend
Community Legend
The question can be phrased with a simpler "how can I unload the app without restarting AutoCAD" I'm sure.
Message 11 of 13

Anonymous
Not applicable

Thanks for all the replies! So I just got into work and I had a look in the installation folder. There are both .arx and .dll files in the folder. I'll have a go at seeing if unloading the arx plugin is possible.

0 Likes
Message 12 of 13

Anonymous
Not applicable
Accepted solution

Hi everyone, just an update:

 

So I contacted the author and apparently its possible to release the license by just unloading arx file using the APPLOAD command. I have tried this and can confirm it works. Hope this will help anyone else with this issue.

Message 13 of 13

gotphish001
Advisor
Advisor

Mark your findings as the solution so someone having the same issue will have an easier time finding it. 



Nick DiPietro
Cad Manager/Monkey