Diesel Expression to Add Tabs

Diesel Expression to Add Tabs

Dj_T_Rex2002
Enthusiast Enthusiast
598 Views
4 Replies
Message 1 of 5

Diesel Expression to Add Tabs

Dj_T_Rex2002
Enthusiast
Enthusiast

Hi, I need help. I just want to know if there is a diesel expression to add tabs containing specific text ... example

 

A1.1

A1.2

A1.3

S1.1

S1.2

S2.1

S2.2

S2.3

 

Diesel Expression will then give me 3 for all that contain A1. ... 2 for all that contain S1. and 3 for all that contain S2.

Hope I didn't confuse anyone 😂

0 Likes
599 Views
4 Replies
Replies (4)
Message 2 of 5

pendean
Community Legend
Community Legend
Why DIESEL if I may ask? Are you on a very old LT version of AutoCAD or something else?
So you just want the TAB name, no pagesetup defined? Or...?
and do you have a TEMPLATE file(s) with those predefined and ready to use by chance?
0 Likes
Message 3 of 5

cadffm
Consultant
Consultant

Hi,

 

"if there is a diesel expression"

No

 

Sebastian

0 Likes
Message 4 of 5

Simon_Weel
Mentor
Mentor

Can you post your DIESEL code?

0 Likes
Message 5 of 5

Dj_T_Rex2002
Enthusiast
Enthusiast

Thanks for the reply. This is what my sheet looks like ... 

 

Dj_T_Rex2002_0-1730477661770.png

 

 

and the diesel expression to read "7" it's 

$(upper, $(substr, $(getvar,ctab),5,2))

 and the sheet A2.7 it's just SystemVariable Ctab

0 Likes