Diesel Expression (automated sheet numbers)

Diesel Expression (automated sheet numbers)

Anonymous
Not applicable
2,002 Views
5 Replies
Message 1 of 6

Diesel Expression (automated sheet numbers)

Anonymous
Not applicable

I am trying to design a Diesel Expression to insert the Revision letter for each sheet of the drawing by fetching it from the layout tab at the bottom of the drawing window (P.S.- I am using AutoCAD 2015).  How can I access the information in these tabs?

0 Likes
Accepted solutions (2)
2,003 Views
5 Replies
Replies (5)
Message 2 of 6

msanford.ail
Contributor
Contributor
Accepted solution

You could use a field to populate the revision based on the tab contents

Message 3 of 6

Anonymous
Not applicable
That is actually exactly what I'm trying to do. The problem is that I don't know how to reference the tab name in the Diesel Expression.

Andy Tannen (US)

Sr. Electrical Engineer
[Capture]
INSPIRED WORK
23535 Cottonwood Parkway
California, Maryland 20619
(301) 862-7252
andrew.tannen@baesystems.com
0 Likes
Message 4 of 6

Anonymous
Not applicable
That is actually exactly what I'm trying to do. The problem is that I don't know how to reference the tab name in the Diesel Expression.

Andy Tannen (US)

Sr. Electrical Engineer
[Capture]
INSPIRED WORK
23535 Cottonwood Parkway
California, Maryland 20619
(301) 862-7252
andrew.tannen@baesystems.com
0 Likes
Message 5 of 6

rkmcswain
Mentor
Mentor
Accepted solution
$(getvar, ctab)
R.K. McSwain     | CADpanacea | on twitter
Message 6 of 6

Anonymous
Not applicable

Add a field in a text

 

$(substr,$(getvar,ctab),$(-,$(strlen,$(getvar,ctab)),1),2)

 

This case will use the last digits from de tab name.

0 Likes