Author Topic: Diesel expression doesn't update  (Read 1686 times)

0 Members and 1 Guest are viewing this topic.

dubb

  • Swamp Rat
  • Posts: 1105
Diesel expression doesn't update
« on: November 23, 2016, 12:28:01 PM »
I am trying to obtain the substring of the first two characters of a layout name using a diesel expression. When I change the name of the layout it doesn't change. The text becomes static. Whats going on here?

Layout name "01-Title Sheet"

Field Text: $(substr,%<\AcVar ctab>%,1,2)

Result: 01

Layout name changed: "02-Title Sheet"
Result: 01


roy_043

  • Water Moccasin
  • Posts: 1895
  • BricsCAD 18
Re: Diesel expression doesn't update
« Reply #1 on: November 23, 2016, 12:44:38 PM »
Diesel expression:
Code: [Select]
$(substr,$(getvar,CTAB),1,2)

ChrisCarlson

  • Guest
Re: Diesel expression doesn't update
« Reply #2 on: November 23, 2016, 12:57:47 PM »
I don't believe Diesel expressions are automatic, they must be refreshed.

roy_043

  • Water Moccasin
  • Posts: 1895
  • BricsCAD 18
Re: Diesel expression doesn't update
« Reply #3 on: November 24, 2016, 04:07:12 AM »
I don't believe Diesel expressions are automatic, they must be refreshed.
This applies to all fields.

dubb

  • Swamp Rat
  • Posts: 1105
Re: Diesel expression doesn't update
« Reply #4 on: November 28, 2016, 03:54:19 PM »
Thanks!
I guess by using
Code: [Select]
%<\AcVar ctab>% it became static?