Field in Attribute problem

Discussion in 'AutoCAD' started by Matt W, Feb 4, 2005.

  1. Matt W

    Matt W Guest

    I have some blocks that have 2 attribute defs in them; one of those has a
    field which references the CTAB sysvar, however, when I use the following
    snippet of code, my field disappears, is turned into a regular attribute and
    the value of that attribute is the CTAB name from the drawing in which it
    came from.
    returnPnt = ThisDrawing.Utility.GetPoint(, "Pick insertion point: ")
    Set blockRefObj = ThisDrawing.PaperSpace.InsertBlock(returnPnt,
    strBlockName, 1#, 1#, 1#, 0)
    blockRefObj.Update

    Has anyone seen this happen before? Am _I_ doing something wrong with the
    code?? How do I keep my attribute field as a field??!?
     
    Matt W, Feb 4, 2005
    #1
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.