Hi All
I have a routine that I am working on but I am not getting the correct layer information that I need. I want to be able to select a point on the object and if it is a block for the routine to return the layer it was inserted on. I am using the following line of code but it is returning the layer name of the object within the block. Any help is greatly appreciated. Thanks.
Manuel
sn_ipt is a selected point on an object that I am passing thru the following code:
Code:(cdr (assoc 8 (entget (car (nentselp sn_ipt)))))