can we change xref attach to overlay yet with a program?

Discussion in 'AutoCAD' started by James Maeding, Jan 20, 2004.

  1. Just checking if some c guru knows how to change the xref attachment type programatically
    Does the new .net help?.
    James Maeding
    Civil Engineer/Programmer
     
    James Maeding, Jan 20, 2004
    #1
  2. James Maeding

    Rudy Tovar Guest

    I believe someone posted an example of this a few day's ago.

    Sorry, I don't know the time or day James.
     
    Rudy Tovar, Jan 20, 2004
    #2
  3. well its not in the activex object model yet, and setting the block object's group 70 so that the 8 bit flag is 1 does
    not work.
    Here is the code that does not work:

    (SETQ BLOCK-TBL-OBJ (SUBST (CONS 70 (+ 70-VAL 8)) (ASSOC 70 BLOCK-TBL-OBJ) BLOCK-TBL-OBJ))
    (ENTMOD BLOCK-TBL-OBJ)
    (ENTUPD BLOCK-TBL-NAME)

    assume the BLOCK-TBL-OBJ ia an entget of the item from a tblobjname call.
    The numbers and variables are all correct, but no dice with the entmod...
    Its another hidden property that entmod does not work on...

    maybe a good c programmer can get around the object model.
    I think autodesk underestimated how important that property is for large engineering projects.

    "Rudy Tovar" <>
    |>I believe someone posted an example of this a few day's ago.
    |>
    |>Sorry, I don't know the time or day James.
    |>
    |>|>> Just checking if some c guru knows how to change the xref attachment type
    |>programatically
    |>> Does the new .net help?.
    |>> James Maeding
    |>> Civil Engineer/Programmer
    |>

    James Maeding
    Civil Engineer/Programmer
     
    James Maeding, Jan 20, 2004
    #3
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.