bind xrefs

Discussion in 'AutoCAD' started by Edward Bagby, Jan 22, 2004.

  1. Edward Bagby

    Edward Bagby Guest

    Code that I have been using for a while seems to be having a problem that
    I'm 99% sure was not there before. I'm using the bind method for a block
    that is an external reference, and I'm using the FALSE parameter to bind the
    xref without the prefix garbage attached to the layer names. However the
    false parameter does not seem to be working and I'm getting the prefix
    grarbage anyway. I've looked around and found no info on this.

    Please Help!
    Here's my line o' code:

    myXref.Bind False

    thank you very much,
    Edward
     
    Edward Bagby, Jan 22, 2004
    #1
  2. Edward Bagby

    Jeff Mishler Guest

    Edward,
    Looks like the help file says you've got it backward.....

    object.Bind(bPrefixName)

    bPrefixName

    Boolean; input-only

    TRUE: Symbol names are not prefixed.

    FALSE: Symbol names are prefixed with <blockname>$x$.
     
    Jeff Mishler, Jan 22, 2004
    #2
  3. Edward Bagby

    Edward Bagby Guest

    Interesting... the following is cut and pasted right out of my help file


    object.Bind(bPrefixName)
    Object
    Block
    The object or objects this method applies to.
    bPrefixName
    Boolean; input-only
    TRUE: Symbol names prefixed with <blockname>$x$.
    FALSE: Symbol names are not prefixed.

    Looks like the AutoCAD Gnomes have got into my machine again!
    I tried it your way and it works!
    thx
    Edward
     
    Edward Bagby, Jan 22, 2004
    #3
  4. Edward Bagby

    user0 Guest

    Sorry to barge in but I have AcadMap 2000 AcadMap 2004 side by side on the same machine so I looked at the help files in each.
    AutoCAD Map 2000 says:
    bPrefixName Boolean; input-only

    TRUE: Symbol names prefixed with <blockname>$x$.

    FALSE: Symbol names are not prefixed.

    AutoCAD Map 2004 says:
    bPrefixName

    Boolean; input-only

    TRUE: Symbol names are not prefixed.

    FALSE: Symbol names are prefixed with <blockname>$x$.
     
    user0, Jan 22, 2004
    #4
  5. Edward Bagby

    Edward Bagby Guest

    Thanks for the input. However, that doesn't explain why my 2000 software has
    decided to behave like 2004 software

    and anyway, what is Autodesk thinking?!?

    Edward


    same machine so I looked at the help files in each.
     
    Edward Bagby, Jan 22, 2004
    #5
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.