Author Topic: Linetype...euh ??  (Read 1595 times)

0 Members and 1 Guest are viewing this topic.

Andrea

  • Water Moccasin
  • Posts: 2372
Linetype...euh ??
« on: November 29, 2004, 11:03:07 AM »
Hi all,

I Know there is a stupid question...
but i don't understand why the last line is not working
please take a look..



(setq celtype (getvar "celtype"))

(IF (OR (NOT (TBLSEARCH "LTYPE" "EXISTANT"))
   (NOT (TBLSEARCH "LTYPE" "DEMOLITION"))
    )
(VL-CMDF "_.-INSERT" "X:\\Acad\\LIN\\LT-MEC.DWG" "0,0" "" "" "")
)

(setq meclt (strcase (getstring "Please enter your LINETYPE :")))

(VL-CMDF "celtype" meclt )
(VL-CMDF "_.LINE")
(VL-CMDF "celtype" celtype);;;THIS IS NOT WORKING
   



so ??
Keep smile...

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Linetype...euh ??
« Reply #1 on: November 29, 2004, 11:23:02 AM »
Because you are issuing a command after the line command.

Perhaps you should look at cmdactive for your line command routine.
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

Andrea

  • Water Moccasin
  • Posts: 2372
Linetype...euh ??
« Reply #2 on: November 29, 2004, 11:57:55 AM »
ok, now how can i change the CMDACTIVE ??
Keep smile...