Ken Alexander
Usenet Archive
- Joined
- Jul 10, 2003
- Messages
- 193
- Reaction score
- 0
It appears in VBA you can use selectionsetall mode with filters in the select method, I have attempted this in lisp with no success. Is it possible? I know I can use (ssget "x" '((0 . "line"))).
(vla-select
selset
acSelectionSetall
(vlax-safearray-fill
(vlax-make-safearray
vlax-vbinteger
(cons 0 (1- (length (car dxfcode))))
)
(car dxfcode)
)
(vlax-safearray-fill
(vlax-make-safearray
vlax-vbvariant
(cons 0 (1- (length (cadr dxfcode))))
)
(cadr dxfcode)
)
)
(vla-select
selset
acSelectionSetall
(vlax-safearray-fill
(vlax-make-safearray
vlax-vbinteger
(cons 0 (1- (length (car dxfcode))))
)
(car dxfcode)
)
(vlax-safearray-fill
(vlax-make-safearray
vlax-vbvariant
(cons 0 (1- (length (cadr dxfcode))))
)
(cadr dxfcode)
)
)