×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Field with DIESEL expression does not update

Field with DIESEL expression does not update

Field with DIESEL expression does not update

(OP)
Basically I want a mtext field that is linked to a attribute in an object.
Easy enough, you just take Edit Field -> Objects -> Object and select the object and the attribute you want.
The field formula looked something like this: %<\AcObjProp Object(%<\_ObjId 2130252728>%).TextString>%

Then I realized I only want part of that attribute so I used a DIESEL expression looking like this: $(substr,Hi,2) and replaced the word "Hi" with the field code. The result looked like this: $(substr,%<\AcObjProp Object(%<\_ObjId 2130252728>%).TextString>%,4)

Problem is now the field doesn't update when typing REGEN and it doesn't update when typing UPDATEFIELD. Tried with booth FIELDEVAL=16 and FIELDEVAL=31.
If I doubleklick it, right click and choose Update Field it will update but if you have a large number of fields it's no fun to use three clicks on each to update them. The whole idea with fields is kind of lost...
Any ideas about this?
 

RE: Field with DIESEL expression does not update

Do the fields update when you close and open the drawing?

RE: Field with DIESEL expression does not update

Do fields with only diesel expressions update?

RE: Field with DIESEL expression does not update

(OP)
IFRs: No, it doesn't update the fields with DIESEL expressions when I close and open. I think your question is related to the system variable FIELDEVAL. Look up FIELDEVAL in the manual and you see what I mean.

CarlB: I assume that you mean "fields without diesel expressions". The answer is yes, fields without DIESEL expressions update on REGEN and when saving etc. (according to the FIELDEVAL variable I assume).

 

RE: Field with DIESEL expression does not update

Actually I said(typed) WITH ONLY diesel expressions, my point being maybe diesel expressions don't update according to Fieldeval.

RE: Field with DIESEL expression does not update

(OP)
Sorry for my ignorant assumption CarlB. I haven't tried with only diesel expressions. Good point, when do diesel expressions update? Sorry about the late reply, I whish to keep the discussion going.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources