AutoCAD - description of the profile name in the title bar

AutoCAD - description of the profile name in the title bar

Anonymous
Not applicable
1,810 Views
14 Replies
Message 1 of 15

AutoCAD - description of the profile name in the title bar

Anonymous
Not applicable

Hello everybody,

 

is there a possibility that the AutoCAD profile name (e.g. <<ADADMPP>>)

could be displayed in the title bar? Is there a registry key or some other way? I would like to help those users who often switch between different profiles in AutoCAD.

 

For example like this:

Title bar.PNG

 

0 Likes
Accepted solutions (3)
1,811 Views
14 Replies
Replies (14)
Message 2 of 15

ВeekeeCZ
Consultant
Consultant

THIS might put some light...

0 Likes
Message 3 of 15

Shneuph
Collaborator
Collaborator
Accepted solution

If it doesn't need to go in the titlebar, it may be much easier to put it in the MODEMACRO variable.

 

Shneuph_0-1594917644656.png

 

MODEMACRO

$(getvar, cprofile)

---sig---------------------------------------
'(83 104 110 101 117 112 104 64 71 109 97 105 108 46 99 111 109)
Message 4 of 15

CodeDing
Advisor
Advisor

@Shneuph ,

 

I had no idea this existed until today. Thank you.

Message 5 of 15

Shneuph
Collaborator
Collaborator

For an example.. Here is the string we use.  You should be able to copy and paste into the commandline for modemacro:

 

$(if,$(eq,$(getvar,pstylemode),0),"STB DWG" ,"CTB DWG") " | OsnapZ: "$(if,$(eq,$(getvar,osnapz),0),"OFF" ,"ON") " | Txt S: " $(RTOS, $(*,$(getvar,TEXTSIZE),8)[, 2, 2])" | Dim S: " $(RTOS, $(getvar,DIMSCALE)[, 2, 2]) " | LTS: " $(getvar,LTSCALE) " | OS " $(getvar,osmode) " | Profile " $(getvar,cprofile) " | Mtext Editor: " $(getvar,mtexted) " | CenterMT: " $(if,$(eq,$(getvar,centermt),0),"Not Centered" ,"Centered")

---sig---------------------------------------
'(83 104 110 101 117 112 104 64 71 109 97 105 108 46 99 111 109)
Message 6 of 15

Anonymous
Not applicable

Hi @Shneuph ,

 

when I restart the AutoCAD, the value of MODEMACRO is overwritten with "". I need a pemanent solution.

 

The value of the string "$(getvar, cprofile) is also not shown. I can only create a command macro with this string.

0 Likes
Message 7 of 15

cadffm
Consultant
Consultant
Accepted solution

For this you have your (own) ACADDOC.lsp 😶

Sebastian

Message 8 of 15

cadffm
Consultant
Consultant

@Anonymous  schrieb:

Hi @Shneuph ,

The value of the string "$(getvar, cprofile) is also not shown.


???

Modemacro appears in your statusbar, if you set statusbar off, you can't see the Modemacro string 😂

Please upload a screenshot of the whole program windows after you set modemacro this way:

MODEMACRO
Aktuelles Profil ist: $(getvar,CPROFILE)

 

Sebastian

Message 9 of 15

ВeekeeCZ
Consultant
Consultant
Accepted solution

Use this expression:

 

(setvar 'modemacro "$(getvar,cprofile)")

 

Save it as a *.lsp file, add the file to the StartUp Suite.

Then you would see the profile name in this part of your screen... as the very first item of the status bar. 

 

Z9E3zK5E_0-1594970269488.png

 

So not much close to what you had in mind when starting this thread.

 

Message 10 of 15

Anonymous
Not applicable

Thank you very much to you all, especially to Vilík 😀

0 Likes
Message 11 of 15

ВeekeeCZ
Consultant
Consultant

Another simple idea of how to clearly distinguish profiles can be using QAT with some dummy icons. As this example...

You can create/download eg icons of letters... whatever. 

 

Z9E3zK5E_1-1594971291367.png

 

Message 12 of 15

cadffm
Consultant
Consultant

Creative idea,

But hard to handle if you are using the same main.cuix&workspace,

in this case you need to know how so set up a command/button with linked icons.png and then you can set different paths for customer icons.

 

 

My Q:

Or does i miss some way to use this idea?

Sebastian

0 Likes
Message 13 of 15

ВeekeeCZ
Consultant
Consultant

That was just an idea for the OP to consider. No more.

If I would want such a thing for myself, I would consider that as feasible. But I'm not really one who needs to care about a bunch of users. But your point of view is legit. Sure.

 

BTW I am switching between C3D and ACAD profiles a lot. Often having them side by side. I use a background to visually distinguish them. Whether C3D is by default in dark gray-blue color, ACAD is black. All I need. Personally consider MODEMACRO as "not enough" for such a case. Also, have more interesting/interactive stuff to show in the status bar than a simple profile name.

Message 14 of 15

cadffm
Consultant
Consultant

@ВeekeeCZ  schrieb:

That was just an idea for the OP to consider. No more.


And i like the idea (generally interest)!

That's why i took time to think about a solution for this and i ends up with:

Possible, but to complicated in most of cases.

 

Thanks for sharing the idea 🙂

 

Sebastian

Message 15 of 15

Sea-Haven
Mentor
Mentor

Rather than jumping between 2 workspaces I just made a custom menu that had a lot of the most used CIV3D stuff and added it to my Drafting workspace much easier, just used notepad and cut and pasted stuff out of CUI.

 

 

0 Likes