Errors "Too many object selected for intersect" or "Checking 666 intersections" But I'm not doing anything with intersections

Errors "Too many object selected for intersect" or "Checking 666 intersections" But I'm not doing anything with intersections

Gorra
Advocate Advocate
347 Views
2 Replies
Message 1 of 3

Errors "Too many object selected for intersect" or "Checking 666 intersections" But I'm not doing anything with intersections

Gorra
Advocate
Advocate

When trying to enter a plain block that contains nothing but a multileader, I get this:

 

insert Enter block name or [?] <AMRNotes>: AMRNotes
Units: Unitless Conversion: 췼Ǘ
Specify insertion point or [Basepoint/Scale/X/Y/Z/Rotate/Explode/REpeat]:
Checking 666 intersections...
Enter X scale factor, specify opposite corner, or [Corner/XYZ] <1>: 1 Enter Y scale factor <use X scale factor>: 1
Specify rotation angle <0.000>: 0
Command: Unknown command " ". Press F1 for help.
Command: ; error: bad argument type: stringp nil

 

I have no idea what to make of that, or when it comes back with "too many objects selected for intersect"

 

The problem line is the command insert in this function

 

(defun Core ( / RowLst a PoleNum RdyNts Latd Lngtd Crdnt) 
   (GetCSV) ; Open the CSV
   (setq RowLst(LM:ReadCSV Sorc)) ;Lee-Mac CSV to list-of-lists
   (setq RowLst(reverse Rowlst))
   (setq RowLst(vl-remove (last RowLst) RowLst)) ;removing headers
   (setq RowLst(reverse Rowlst))
   (foreach a RowLst ;for each row
       (setq PoleNum (nth 3 a)) ;extract attributes
       (setq RdyNts (nth 8 a)) 
       (setq Latd (substr (nth 6 a) 1 11))
       (setq Lngtd (substr (nth 6 a) 13))
       (CnvPnts Latd Lngtd) ;change Lat-Long to grid
       (setq Crdnt (list Nrthng Estng 0)) ;make list of coordinates to give the insert command
       (print RdyNts)
      (command "insert" "AMRNotes" Crdnt 1 1 0 " ")
);end defun Core

 

The rest of the code is attached.

Thanks for any help. If I even knew what the checking intersections means, I'd at least know where to start.

 

Gorra

0 Likes
348 Views
2 Replies
Replies (2)
Message 2 of 3

Kent1Cooper
Consultant
Consultant

It looks like there must be a lot of intersecting things within Osnap target range of your insertion point, and you must have INTersection included among running Osnap modes.  Try turning Osnap off -- if that fixes the check on intersections, you can build it into the code.

 

And read about in Help, and check the value of, the ATTREQ System Variable.

Kent Cooper, AIA
0 Likes
Message 3 of 3

Gorra
Advocate
Advocate

Thanks, I will try that.

 

Gorra

0 Likes