I have a lsip I have been working with off and on for awile. I have the main selection set working and can manipulate those blocks (I have commented the manipulation portion out, I used it for testing) I have placed some basic code below the main to do some testing also. this works by picking the nested entities. What I would like to do is select the arcs and splines within the selection set of blocks and change the lintype of the entities. I hope this is clear enough.Code:(defun c:fH (/ ssets acadDocument newsset ctr item) (vl-load-com) ; load the visual lisp extensions (setq acadDocument (vla-get-activedocument (vlax-get-acad-object))) ;retrieve a reference to the documents object (setq ssets (vla-get-selectionsets acadDocument)) ;retrieve a reference to the selection sets object (setq newsset (vla-add ssets "SS1")) ;add a new selection set (setq filter_code (vlax-make-safearray vlax-vbinteger '(0 . 4))) ;create a 5 element array for the DXF Code (setq filter_value (vlax-make-safearray vlax-vbvariant '(0 . 4))) ;;;;create a 5 element array for the values (vlax-safearray-fill filter_code '(0 -4 8 8 -4)) ;;;;DXF Code for Objects and Layer (vlax-safearray-fill filter_value '("insert" "<OR" "A-Hist" "A-HIST-2000" "OR>") ) ;;;;the filter values (vla-select newsset acSelectionSetAll nil nil filter_code filter_value) ;;;;;;;select ALL Blocks on Layers A-hist or a-hist-2000 ;;; (setq ctr 0) ;set the counter to zero ;;; (repeat (vla-get-count newsset) ;count the number of objects and loop ;;; (setq item (vla-item newsset ctr)) ;retrieve each object ;;; (setq check (vlax-property-available-p item "LAYER" T)) ;;; ;check if the entity has a layer property and can it be updated ;;; (if check ;if it can ;;; (vlax-put-property item 'LAYER "A-WALL-SLAB") ;change it's layer ;;; ) ; end if ;;; (setq ctr (1+ ctr)) ;increment the counter ;;; ) ;repeat ;;; (vla-delete (vla-item ssets "SS1")) ;delete the selection set ;;; (princ) ;;;) ;defun ;;;(princ) ;;; ;if (setq old_arc (entget (car (nentsel))));select nested arcs (setq new_arc (subst (cons 6 "Phantom") (assoc 6 old_arc) old_arc));substitute new linetype to arc (entmod new_arc);force new linetype on arc (command "regenall");regenerate drawing to see results (setq old_spline (entget (car (nentsel)))) (setq new_spline (subst (cons 6 "Phantom") (assoc 6 old_spline) old_spline)) (entmod new_spline) (command "regenall")