Mystogan Posted September 20, 2018 Share Posted September 20, 2018 Hi to all Would like to know if there's a way to extract all the layout tab name? I got series of layout name it will be easy for me to extract those layout tab name.. Thank you in advance. Quote Link to comment Share on other sites More sharing options...
Stefan BMR Posted September 20, 2018 Share Posted September 20, 2018 Use (getvar 'ctab) to get the current layout name and (layoutlist) to get all layouts. Quote Link to comment Share on other sites More sharing options...
Mystogan Posted September 20, 2018 Author Share Posted September 20, 2018 Hi sir stefan Sorry sir Im not LSP programmer.. can you provide LSP command? Quote Link to comment Share on other sites More sharing options...
Stefan BMR Posted September 20, 2018 Share Posted September 20, 2018 Yes, I can. Quote Link to comment Share on other sites More sharing options...
Mystogan Posted September 20, 2018 Author Share Posted September 20, 2018 may I request for lsp? hope you can help me Quote Link to comment Share on other sites More sharing options...
ronjonp Posted September 20, 2018 Share Posted September 20, 2018 As Stefan already did .. (layoutlist) will give you the names of all the tabs. Try pasting it into the command line. Quote Link to comment Share on other sites More sharing options...
BIGAL Posted September 21, 2018 Share Posted September 21, 2018 Please explain more what you want to do with the names a few ideas come to mind. It more than likely has been done. GOTO layout, zoom all layouts, update titles in layout, plot range of layouts, rename layouts, reorder layouts to mention just a few. Quote Link to comment Share on other sites More sharing options...
Mystogan Posted September 21, 2018 Author Share Posted September 21, 2018 I tried layoutlist command at autocad 2010, and it didn't work. The goal is the same as extracting block object. Doing this using dataextraction command then this command will give me details on How many the block object is and if there is a double entry of name it will be easy to modify. That's what I'm trying to achieve hopefully someone can give a lsp. it will be a great help 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.