Install plugin on a specific profile behalf

Install plugin on a specific profile behalf

Shay.Gaghe
Advocate Advocate
1,188 Views
5 Replies
Message 1 of 6

Install plugin on a specific profile behalf

Shay.Gaghe
Advocate
Advocate

hi

im using few profiles for my disciplines. now when I want to install a plugin I'm confused about how to install it so it will be active only in a specific profile of my choice?

 

Thanks

S

 

Using Autocad 2018, Autocad Architecture.
Please accept as solution if i solved your problem
0 Likes
1,189 Views
5 Replies
Replies (5)
Message 2 of 6

cadffm
Consultant
Consultant

What do you mean with " a plugin" in detail?

Different types of "plug In", different ways to go.

Sebastian

0 Likes
Message 3 of 6

Moshe-A
Mentor
Mentor

@Shay.Gaghe  hi,

 

if the 'plugin' is a lisp file (not an application that installed by some setup program)  then you can add lisp files to Appload Startup Suite for specific profile.

 

HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\RXX.0\ACAD-XXXX:XXX\Profiles\<<YourProfileNamed>>\Dialogs\Appload\Startup 

 

??

 

Moshe

 

0 Likes
Message 4 of 6

Shay.Gaghe
Advocate
Advocate

my plugin is made of lisps using external files like dwg,excel,txt,partial cuix,workspace and desktop shortcut that load that profile.

Using Autocad 2018, Autocad Architecture.
Please accept as solution if i solved your problem
0 Likes
Message 5 of 6

Shay.Gaghe
Advocate
Advocate

its a program

Using Autocad 2018, Autocad Architecture.
Please accept as solution if i solved your problem
0 Likes
Message 6 of 6

scot-65
Advisor
Advisor
Will checking the variable CPROFILE suit your needs?

I am assuming your applications are (pre)loading thru a third-party
interface such as acaddoc.lsp and/or MyMenu.mnl.

(if (= (strcase (getvar 'CPROFILE)) "PROFILE-1")
(progn
(defun c:ABC () (if (load "program-ABC" nil) (c:ABC)))
(defun c:DEF () (if (load "program-DEF" nil) (c:DEF)))
etc.
);progn
);if

???

Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.

0 Likes