Entmod an Xref's assoc 70 ...

Discussion in 'AutoCAD' started by tsigwing, Feb 26, 2004.

  1. tsigwing

    tsigwing Guest

    Anybody know why you can't change it so that the XREF is overlayed instead of attached?
     
    tsigwing, Feb 26, 2004
    #1
  2. tsigwing

    BillZ Guest

    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
     
    BillZ, Feb 26, 2004
    #2
  3. 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.
     
    Jason Piercey, Feb 26, 2004
    #3
  4. tsigwing

    tsigwing Guest

    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.
     
    tsigwing, Feb 26, 2004
    #4
  5. tsigwing

    Jeff Mishler Guest

    Bill,
    entget the Blockdef for the xref from the Block Table.....

    Jeff

    but my xrefs entget as "INSERTS".
     
    Jeff Mishler, Feb 26, 2004
    #5
  6. tsigwing

    BillZ Guest

    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>
     
    BillZ, Feb 26, 2004
    #6
  7. 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.
     
    Jason Piercey, Feb 26, 2004
    #7
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.