Ferdinand
23.11.2007, 09:30
Asi jsem slepý, ale nevidím, kde je chyba:
(command "_-units" 2 2 1 2 0 "N") ;jednotky=na 2 desetiny
(if (not (tblsearch "ltype" "hidden")) (command "_-linetype" "_L" "hidden" "acadiso.lin") ) (if (not (tblsearch "ltype" "center")) (command "_-linetype" "_L" "center" "acadiso.lin") ) ;načte typy čar "čárkovaná" a "osa" (if (getvar "celtype") (command "_-linetype" "_S" "_ByBlock") ) ;akt. typ čáry=ByBlock (if (getvar "cecolor") (command "_-color" "_ByBlock") ) ;akt. barva=ByBlock
Proběhne tohle (výpis p.ř.):
_-units 2 2 1 2 0 N_-linetype _L hidden acadiso.lin_-linetypeInvalid option keyword.; error: Function cancelled
(command "_-units" 2 2 1 2 0 "N") ;jednotky=na 2 desetiny
(if (not (tblsearch "ltype" "hidden")) (command "_-linetype" "_L" "hidden" "acadiso.lin") ) (if (not (tblsearch "ltype" "center")) (command "_-linetype" "_L" "center" "acadiso.lin") ) ;načte typy čar "čárkovaná" a "osa" (if (getvar "celtype") (command "_-linetype" "_S" "_ByBlock") ) ;akt. typ čáry=ByBlock (if (getvar "cecolor") (command "_-color" "_ByBlock") ) ;akt. barva=ByBlock
Proběhne tohle (výpis p.ř.):
_-units 2 2 1 2 0 N_-linetype _L hidden acadiso.lin_-linetypeInvalid option keyword.; error: Function cancelled