ccowgill
2006-08-04, 01:34 PM
What is the dotted pair for an insertion point of 0,0,0?
I am writing a routine that checks to see if our title block is inserted at 0,0,0. We have 2 different names, CTLB is our Cover title block, and the * in TBL* represents a number 1-19 depending on how many things that need to be refined.
I get this error: Error: bad SSGET list value
For this code:
(if (/= (setq ss (ssget "_x"
(list '(-4 . "<and")
'(0 . "insert")
(CONS 410 (GETVAR "ctab"))
'(2 . "TBL*,CTLB")
'(10 . 0)
'(20 . 0)
'(30 . 0)
'(-4 . "and>")
) ;end list
) ;end ssget
) ;end setq
nil
) ;end =
();what to do if it is true
);end if
I am writing a routine that checks to see if our title block is inserted at 0,0,0. We have 2 different names, CTLB is our Cover title block, and the * in TBL* represents a number 1-19 depending on how many things that need to be refined.
I get this error: Error: bad SSGET list value
For this code:
(if (/= (setq ss (ssget "_x"
(list '(-4 . "<and")
'(0 . "insert")
(CONS 410 (GETVAR "ctab"))
'(2 . "TBL*,CTLB")
'(10 . 0)
'(20 . 0)
'(30 . 0)
'(-4 . "and>")
) ;end list
) ;end ssget
) ;end setq
nil
) ;end =
();what to do if it is true
);end if