Author Topic: how can i display a variable with diesel?  (Read 1193 times)

0 Members and 1 Guest are viewing this topic.

andrew_nao

  • Guest
how can i display a variable with diesel?
« on: February 29, 2012, 08:24:55 AM »
Code: [Select]
(setq myprofiles (vla-get-profiles (vla-get-preferences (vlax-get-Acad-Object))))

(setq showprofile (strcase (vla-get-ActiveProfile myprofiles)))

how can get this to display in diesel?

Lee Mac

  • Seagull
  • Posts: 12929
  • London, England
Re: how can i display a variable with diesel?
« Reply #1 on: February 29, 2012, 08:33:49 AM »
Code: [Select]
$(upper,$(getvar,CPROFILE))

andrew_nao

  • Guest
Re: how can i display a variable with diesel?
« Reply #2 on: February 29, 2012, 01:38:52 PM »
thanks Lee