TheSwamp
CAD Forums => CAD General => Topic started by: dubb 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
-
Diesel expression:
$(substr,$(getvar,CTAB),1,2)
-
I don't believe Diesel expressions are automatic, they must be refreshed.
-
I don't believe Diesel expressions are automatic, they must be refreshed.
This applies to all fields.
-
Thanks!
I guess by using %<\AcVar ctab>%
it became static?