PeterPan9720 Posted February 3, 2019 Posted February 3, 2019 Dear All, I have a little issue with layouts. I have a drawing with several layouts, and I would like to have an item reference as per they are displayed on drawing, after final drawing of all layouts fixed, that of course will have effect on TabOrder property. I'm searching for a VBA CODE, for example below code shown the situation of layouts taborder on attached drawing layouts sequence viewed. Thank you N_LT = ThisDrawing.Layouts.Count ReDim VETTORE(N_LT, 2) For N = 0 To N_LT - 1 VETTORE(N, 1) = ThisDrawing.Layouts(N).TabOrder VETTORE(N, 2) = ThisDrawing.Layouts(N).Name Debug.Print N, VETTORE(N, 1), VETTORE(N, 2) Next Code result: N TabOrder Layout Name 0 8 A0 1 13 A0-Verticale 2 9 A0x1.5 3 7 A1 4 12 A1-Verticale 5 6 A2 6 11 A2-Verticale 7 5 A3 8 2 A3 (Legenda N.1) 9 3 A3 (Legenda N.2) 10 10 A3-Verticale 11 4 A4 12 1 A4 (Copertina) 13 0 Model Quote
SLW210 Posted February 4, 2019 Posted February 4, 2019 I have moved your thread to the .NET, ObjectARX & VBA Forum. Quote
BIGAL Posted February 4, 2019 Posted February 4, 2019 On iPad at moment but two ways to Get at layouts, tab order or actual order search here for goto.lsp should give answer. Or look at lee-Mac.com has both methods. Quote
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.