TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: andrew_nao on February 24, 2011, 02:33:50 PM

Title: DISPLAY DIMSCALE ON MENU BAR
Post by: andrew_nao on February 24, 2011, 02:33:50 PM
has anyone ever tried to have the dimscale dynamically displayed in the menubar?
is it possible?
how about setting it in a toolbar if not?

thats my next mission if its possible
thoughts?
Title: Re: DISPLAY DIMSCALE ON MENU BAR
Post by: alanjt on February 24, 2011, 02:40:00 PM
Like this?

Code: [Select]
(setvar
  "modemacro"
  "$(getvar,clayer)  ($(edtime, $(getvar,date),H:MMam/pm) - $(edtime,$(getvar,date),M.DD.YY))  Textsize: $(getvar,textsize) $(if, $(!=, $(getvar,viewtwist), 0), Viewtwist: $(angtos, $(getvar,viewtwist) [, 0, 2]) , ) AnnoScale: $(getvar,cannoscale)  Dimscale: $(getvar,dimscale) $(if, $(!=, $(getvar,filletrad), 0), FilletRad: $(getvar,filletrad), ) $(if, $(=, $(getvar,worlducs), 1),*WCS* ,*NON-WCS*) "
)

It's in the ModeMacro variable.
Title: Re: DISPLAY DIMSCALE ON MENU BAR
Post by: Lee Mac on February 24, 2011, 03:06:33 PM
Now that's what I call a MenuBar  :lol:
Title: Re: DISPLAY DIMSCALE ON MENU BAR
Post by: alanjt on February 24, 2011, 03:09:20 PM
Now that's what I call a MenuBar  :lol:
LoL
Part of the reason why Viewtwist and FilletRad are only displayed if something other than zero.
Title: Re: DISPLAY DIMSCALE ON MENU BAR
Post by: andrew_nao on February 24, 2011, 03:17:12 PM
ehhh i was more aiming to the top of the screen where the pull down menus are.
Title: Re: DISPLAY DIMSCALE ON MENU BAR
Post by: alanjt on February 24, 2011, 03:23:22 PM
I *think* you can use Diesel in pulldowns, but that's about the best you are going to get. Why does it have to be at the top?
Title: Re: DISPLAY DIMSCALE ON MENU BAR
Post by: Biscuits on February 24, 2011, 04:48:24 PM
"Dimstyle Control" is a button (of sorts)  for a tool bar..if your using acad classic.
Check your cui if it exists...I think it depends on the version.
It shows the current dimstyle with a dropdown to select another to become current.
Title: Re: DISPLAY DIMSCALE ON MENU BAR
Post by: alanjt on February 24, 2011, 04:49:50 PM
"Dimstyle Control" is a button (of sorts)  for a tool bar..if your using acad classic.
Check your cui if it exists...I think it depends on the version.
It shows the current dimstyle with a dropdown to select another to become current.
I think he wants to see the scale, not style.
Title: Re: DISPLAY DIMSCALE ON MENU BAR
Post by: Matt__W on February 24, 2011, 04:52:13 PM
"Dimstyle Control" is a button (of sorts)  for a tool bar..if your using acad classic.
Check your cui if it exists...I think it depends on the version.
It shows the current dimstyle with a dropdown to select another to become current.
I think he wants to see the scale, not style.

has anyone ever tried to have the dimscale dynamically displayed in the menubar?
is it possible?
how about setting it in a toolbar if not?

thats my next mission if its possible
thoughts?
Title: Re: DISPLAY DIMSCALE ON MENU BAR
Post by: Biscuits on February 25, 2011, 01:55:14 PM
Quote
"Dimstyle Control" is a button (of sorts)  for a tool bar..if your using acad classic.
Check your cui if it exists...I think it depends on the version.
It shows the current dimstyle with a dropdown to select another to become current.

I think he wants to see the scale, not style.

Sorry.....didn't occur to me that we name all our dimstyles according to it's particular dimscale
Title: Re: DISPLAY DIMSCALE ON MENU BAR
Post by: alanjt on February 25, 2011, 02:41:58 PM
Quote
"Dimstyle Control" is a button (of sorts)  for a tool bar..if your using acad classic.
Check your cui if it exists...I think it depends on the version.
It shows the current dimstyle with a dropdown to select another to become current.

I think he wants to see the scale, not style.

Sorry.....didn't occur to me that we name all our dimstyles according to it's particular dimscale
Really? We have different Dimstyles for a change in style (existing/proposed) but never have to make any changes when the scale is altered. That's what the dimscale variable is for.
Title: Re: DISPLAY DIMSCALE ON MENU BAR
Post by: Biscuits on February 25, 2011, 04:45:42 PM
That's what happens when the powers-that-be insist on multiple titleblocks of various scales all residing in modelspace.
I know... I know... I know... we should be using paperspace..........but whut da ya do?
I'm just a Mushroom/Cad Monkey and don't write the checks.!