Results 1 to 2 of 2

Thread: Field Attribute Not Updating on .NET Insert?

  1. #1
    100 Club mcoffman's Avatar
    Join Date
    2005-08
    Location
    Porland, OR
    Posts
    128
    Login to Give a bone
    0

    Default Field Attribute Not Updating on .NET Insert?

    I have a routine that inserts a dynamic block (title block) into a selection of drawing files. This is done by directly editing the databases, not through the editor MDIActiveDocument interface. Everything works on the insertion except for one attribute that has a field that displays the selected title block size (a dynamic lookup table value). It shows up as a series of "#" signs. If I insert the block within AutoCAD using the INSERT command, everything displays correctly, so I don't think it's an issue with the block itself. My code does go through the attribute collection and initialize all of the attributes, just like all of the sample codes for block insertion demonstrate. I'm at a bit of a loss on how to get this to work right. Any thoughts and suggestions would be appreciated! Thanks!

    Michael Coffman

  2. #2
    AUGI Addict fixo's Avatar
    Join Date
    2005-05
    Location
    Pietari, Venäjä
    Posts
    1,269
    Login to Give a bone
    0

    Default Re: Field Attribute Not Updating on .NET Insert?

    Have you tried
    Editor.Regen()
    after inserting

Similar Threads

  1. 2015: Field in an Attribute not updating
    By derek.96018 in forum AutoCAD Customization
    Replies: 5
    Last Post: 2015-09-09, 05:06 PM
  2. 2013: Field within block not updating
    By montero1 in forum AutoCAD General
    Replies: 13
    Last Post: 2015-08-07, 02:13 PM
  3. Trying to insert a field in a titleblock attribute
    By jawf in forum VBA/COM Interop
    Replies: 14
    Last Post: 2009-09-02, 07:50 PM
  4. Trouble updating date field
    By cdoucet in forum CAD Management - General
    Replies: 12
    Last Post: 2008-01-16, 04:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •