- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
Please we need the official Documentation about using formulas inside fields.
We have a field with page numbering, a Layer XX of YY Field. Render is "Page 01/50", "Page 02/50", ...
So we need Documentation and Examples about $if(condition,"case_1","case_2"), please.
Our Layer Tabs are named F-A3, F-A3 (2), F-A3 (3), etc. because in our Template we have only 1 layer, nammed F-A3 then we copy each layer to print further the drawing.
$(strlen,$(getvar,ctab) Works shows length of string of current tab name
$(strlen,$(getvar,ctab),8) Works shows length of string of current tab name, with useless parameter "8"
$(substr,$(getvar, ctab),7,1) Works shows 1 caracter beginning at 7th caracter in current tab name
$(substr,$(getvar, ctab),7,2) Works shows 2 caracters beginning at 7th caracter in current tab name
$(if,$(=,$(strlen,$(getvar,ctab),4),"case_1","case_2")) X Doesn't work Should show "case_1" if current tab name length is "4" or else should show "case_2"
$(if,$(<,$(strlen,$(getvar,ctab),9),"case_1","case_2")) X Doesn't work Should show "case_1" if current tab name length is less than "9" or else should show "case_2"
$(if,$(<,$(strlen,$(getvar,ctab),9),$(substr,$(getvar, ctab),7,1),$(substr,$(getvar, ctab),7,2))) X Doesn't work Should show "1 caracter beginning at 7th caracter in current tab name" if current tab name length is less than "9" or else should show " 2 caracters beginning at 7th caracter in current tab name" . Example "2" out of "F-A3 (2)" else "12" out of "F-A3 (12)".
Finaly it would be nice to get total number of layer tabs (total number of pages) "Page $current tab/$count of tabs"). Currently we created a custom Total Count of Layers Property in Template then we mannually update it in each drawing.
Regards
Solved! Go to Solution.