DDJL Posted June 8, 2018 Share Posted June 8, 2018 By changing the numbers at the end first Diesel code of I can pass a part of the layout name to a field for a sheet number. $(substr,$(getvar,ctab),$(-,$(strlen,$(getvar,ctab)),0),1) By naming a layout tab "1" or "2" I can use the second Diesel code to select between two different addresses and pass one or the other to an address field. $(if,$(eq,$(getvar,ctab),1),"building 1",$(if,$(eq,$(getvar,ctab),2),"building 2")) Is it possible to combine the first Diesel code with the second Diesel code so that I can use the first part of ONE layout tab to select a sheet number field, and the end part of the SAME layout tab would act as a pointer to select an address? For example if the layout tab text was "A-1 1" then the sheet number would be "A-1" and the address field would be "building 1". Quote Link to comment Share on other sites More sharing options...
zaphod Posted June 8, 2018 Share Posted June 8, 2018 Yes, here is a drawing with an example of only the fields. A-1 1.dwg Quote Link to comment Share on other sites More sharing options...
tombu Posted June 10, 2018 Share Posted June 10, 2018 Lee Mac has something you should take a look at: http://www.lee-mac.com/layoutfield.html Quote Link to comment Share on other sites More sharing options...
DDJL Posted June 14, 2018 Author Share Posted June 14, 2018 ZAPHOD You pointed me in the right direction and helped me solve my problem Thanks DDJL Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.