Results 1 to 3 of 3

Thread: Ok Gurus, a Challenge! Field Bug problem found: Explanation Requested...

  1. #1
    Active Member
    Join Date
    2004-07
    Posts
    76
    Login to Give a bone
    0

    Exclamation Ok Gurus, a Challenge! Field Bug problem found: Explanation Requested...

    I was having a bug in my code (VB or Lisp), and finally found the anomaly!!

    Field expression #1:

    %<AcObjProp Object(2130272168).TextString f %bl2>%

    compared to Field expression #2

    %<AcObjProp Object(%<_ObjId 2130272168>%).TextString f %bl2>%


    Notice the text added (shown in brackets to distinguish AutoCAD added text to the expression) in by AutoCAD somewhere, sometimes? I do not know why?

    %<AcObjProp Object([%<_ObjId ]2130272168[>%]).TextString f %bl2>%


    Any ideas?
    I have created a fix for my code to simply rewrite the field expression by removing the extra text AutoCAD adds to the code if it exists, but I do not like doing this without knowing why?

    The extra code is not required as far as I can tell from my testing.

    Thanks,
    Dan

  2. #2
    The Silent Type RobertB's Avatar
    Join Date
    2000-01
    Location
    Seattle WA USA
    Posts
    5,859
    Login to Give a bone
    0

    Default Re: Ok Gurus, a Challenge! Field Bug problem found: Explanation Requested...

    The "extra" info is placed when a field is created via the dialog interface. It isn't required.

  3. #3
    Active Member
    Join Date
    2004-07
    Posts
    76
    Login to Give a bone
    0

    Default Re: Ok Gurus, a Challenge! Field Bug problem found: Explanation Requested...

    Thanks for info, it was driving me crazy...."Where did this come from?"

    Dan

Similar Threads

  1. Field and Refedit Problem
    By Shoey in forum AutoCAD Fields
    Replies: 1
    Last Post: 2014-01-31, 05:45 PM
  2. Field problem with dynamic block
    By jpo82 in forum Dynamic Blocks - Technical
    Replies: 2
    Last Post: 2012-10-19, 04:20 AM
  3. Problem with hatching - Valid hatch boundary not found
    By mwittens83539 in forum AutoCAD General
    Replies: 4
    Last Post: 2010-10-07, 07:52 PM
  4. FIELD ZERO SUPPRESSION PROBLEM
    By MHSS in forum AutoCAD Fields
    Replies: 3
    Last Post: 2010-01-05, 07:40 PM
  5. Field Problem with 2009 Data Extraction
    By Mamma Jamma in forum AutoCAD General
    Replies: 1
    Last Post: 2009-10-27, 01: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
  •