dim n as integer,i as integer dim ft(0) as integer dim fd(0) ft(0)=8 dim Sl() as string n=-1 for i=0 to thisdrawing.layers.count-1 if thisdrawing.layers(i).layeron=true then n=n+1 redim preserve sl(n) sl(n)=thisdrawing.layers(i).name endif next i fd(0)=join(sl,",") dim sset as acadselection ....... .... |