Results 1 to 10 of 10

Thread: Updating Fields

  1. #1
    Member
    Join Date
    2007-10
    Posts
    5
    Login to Give a bone
    0

    Unhappy Updating Fields

    I am currently having problems with fields in AutoCAD 2005.

    I have fields inserted in mtext and they wont update when i regen, plot or save the drawing, all the correct boxes are ticked in the user preferences. The "updatefield" command works but i am trying to set up a plot stamp that has date and time and would like it to update when the drawing is regenerated.

    Any help would be much appreciated, thanks from a newbie.

  2. #2
    AUGI Addict
    Join Date
    2005-07
    Posts
    2,356
    Login to Give a bone
    0

    Default Re: Updating Fields

    Quote Originally Posted by stewart.craigon View Post
    I am currently having problems with fields in AutoCAD 2005.

    I have fields inserted in mtext and they wont update when i regen, plot or save the drawing, all the correct boxes are ticked in the user preferences. The "updatefield" command works but i am trying to set up a plot stamp that has date and time and would like it to update when the drawing is regenerated.

    Any help would be much appreciated, thanks from a newbie.
    What is your FIELDEVAL sysvar set to?

  3. #3
    Member
    Join Date
    2007-10
    Posts
    5
    Login to Give a bone
    0

    Default Re: Updating Fields

    It is set to 3, which i thought would mean it would update on regens, plots, saves, opens and etransmits?

  4. #4
    AUGI Addict
    Join Date
    2005-07
    Posts
    2,356
    Login to Give a bone
    0

    Default Re: Updating Fields

    Quote Originally Posted by stewart.craigon View Post
    It is set to 3, which i thought would mean it would update on regens, plots, saves, opens and etransmits?
    The sysvar is a bitcode, take a look in the help file. I think you want to set it to 31.

  5. #5
    Member
    Join Date
    2007-10
    Posts
    5
    Login to Give a bone
    0

    Default Re: Updating Fields

    I checked again, it wasnt 3 it was 31, and it still isnt updating,it works when i am calculating areas, but when I put time into the field it never updates.

    Time goes slowly enough here without it stopping!

  6. #6
    I could stop if I wanted to
    Join Date
    2003-12
    Location
    Pittsburgh, PA
    Posts
    355
    Login to Give a bone
    0

    Default Re: Updating Fields

    According to Adesk, it is performing as designed
    http://usa.autodesk.com/adsk/servlet...linkID=9240617

  7. #7
    Member
    Join Date
    2007-10
    Posts
    5
    Login to Give a bone
    0

    Default Re: Updating Fields

    Ah, that will be why then, thanks very much!

  8. #8
    Active Member
    Join Date
    2007-06
    Location
    South Florida
    Posts
    79
    Login to Give a bone
    0

    Default Re: Updating Fields

    Quote Originally Posted by stewart.craigon View Post
    It is set to 3, which i thought would mean it would update on regens, plots, saves, opens and etransmits?
    A quick and easy method would be to add a macro to your toolbar buttons or menus, plot example shown below:


    Code:
    ^C^C_updatefield;all;;plot
    You have to be sure that this is what you want to happen in ALL situations of course.

    I had a user that could not remember to save his work, and was experiencing lock-ups upon print. Adding quick save to his plot button saved a lot of money even if it was a work-around.

    Another way to do it would be to use the 'on-event' method in VBA. You could even incorporate all of the events you mentioned - plot, etrans, etc. into a dialog box with check boxes for easy toggling on and off.

  9. #9
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,805
    Login to Give a bone
    0

    Default Re: Updating Fields

    Quote Originally Posted by stewart.craigon View Post
    Ah, that will be why then, thanks very much!
    You just need to use a different field then.
    See: http://rkmcswain.blogspot.com/2005/0...in-fields.html
    R.K. McSwain | CAD Panacea |

  10. #10
    Member
    Join Date
    2007-10
    Posts
    5
    Login to Give a bone
    0

    Default Re: Updating Fields

    Thanks for the link, that works a treat!

Similar Threads

  1. Fields in DB not Updating
    By stusic in forum Dynamic Blocks - Technical
    Replies: 9
    Last Post: 2012-02-16, 03:19 PM
  2. Fields not updating in DB
    By abouzane in forum Dynamic Blocks - Technical
    Replies: 1
    Last Post: 2008-04-03, 06:32 PM
  3. Fields not always updating
    By KGC in forum AutoCAD Customization
    Replies: 2
    Last Post: 2007-11-21, 12:42 PM
  4. Fields & Updating
    By Roger-D-A in forum ACA General
    Replies: 0
    Last Post: 2007-07-31, 05:18 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
  •