OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: arqstaad on January 15, 2010, 06:20:42 AM

Title: Status line vs palettes & dockable form
Post by: arqstaad on January 15, 2010, 06:20:42 AM
Hello
I want to use the following code in a dockable form and I want
it is updated as it does in the status line

Is this possible?

(setvar "MODEMACRO"                  ;defines status line
  (strcat                            ;formats MODEMACRO string
  ;;Current layer
    "Lay:$(substr,$(getvar,CLAYER),1,12) "  ;first 12 char of layer name
  ;;Name dwg
    " Arq:$(getvar,USERS2) "  ;first 8 char of layer name
  ;;Nombre UCS
    " Ucs:$(substr,$(getvar,UCSNAME),1) "  ;first 8 char of layer name
) )                               ;close STRCAT and SETVAR

  Greetings
  ArqSTAAD
Title: Re: Status line vs palettes & dockable form
Post by: Fred Tomke on January 15, 2010, 08:06:11 AM
Hi, arqstaad,

I don't believe that it is possible only with OpenDCL. But you could have a try with the vlr-sysvar-reactor to update a label or anything else ...

Fred
Title: Re: Status line vs palettes & dockable form
Post by: arqstaad on January 15, 2010, 10:17:20 AM
Fred thank you very much for your quick response
I will study this idea
ArqSTAAD