Anybody know why you can't change it so that the XREF is overlayed instead of attached?
Kinda weird... I inserted 2 Xrefs, one as an overlay and one as an attachment. When I do an entget on the entity name, they both show (assoc 70 as 0. Yet in the xref dialog box it list them as overlayed and attached. When I look in the DXF group codes, it only shows assoc 70 for "BLOCKS" but my xrefs entget as "INSERTS". DXF Group codes for BLOCKS. 4 = This block is an external reference (xref) 8 = This block is an xref overlay 16 = This block is externally dependent 32 = This is a resolved external reference, or dependent of an external reference (ignored on input) 64 = This definition is a referenced external reference (ignored on input) Bill
While I don't know the programmatic reason behind this, it has been a problem for many of us for quite some time. I think is boils down to the Autdesk staff not exposing the attach/overlay property/method.
Do a tblsearch in the block table for the xref name, and do an entget on that object. You will see different group 70 values.
Bill, entget the Blockdef for the xref from the Block Table..... Jeff but my xrefs entget as "INSERTS".
Getting more weird, I dont see any assc 70 at all. Command: (tblsearch "BLOCK" "320035") ((0 . "BLOCK") (2 . "320035") (70 . 36) (10 6.58453 4.14917 0.0) (1 . "G:\\WBlock\\ELECTARC\\320035.DWG") (-2 . <Entity name: 7ef93c08>)) Command: (setq ent (cdr (assoc -2 (tblsearch "BLOCK" "320035")))) Command: (entget ent) ((-1 . <Entity name: 7ef93c08>) (0 . "LINE") (330 . <Entity name: 7ef7a5f0>) (5 "1") (100 . "AcDbEntity") (67 . 0) (410 . "Model") (8 . "320035|320035") (100 "AcDbLine") (39 . 0.125) (10 6.89703 5.46167 0.0) (11 6.89703 2.83667 0.0) (210 0.0 0.0 1.0)) Bill <Entity name: 7ef93c08>
DXF 70 is there via (tblsearch) or (tblobjname). It doesn't really matter anyway 'cause you can't use vanilla lisp or activex to modify the attcach or overlay property.