I'm still got problem if that code would combine with other function, like this
(if ; 1).
(not (tblsearch "style" "Isoct")) ; 1).
(command "_style" "Isoct" "Isoct" 1 1 0 "n" "n" "n")
(alert (strcat "\nStyle name of " "Isoct" " still exist")) ; 1). 2).
)
(setq loc '(0 0 0))
(setq th 1)
(setq str (strcat (chr 92) "U+2126"))
(command "_text" loc th "" str 0)
(setq el (entlast))
(setq sse (entget el))
(setq ohm (cdr (assoc 1 sse)))
(setq val (getstring (strcat "\nENTER VALUE OF RESISTOR<3.5M " ohm ">: ")))
I mean the symbol of ohm should display at "val", any idea ?