Hello Forum Users and thanks in advance for your replys.
Would like to "step thru" the layouts in the order shown on the screen and insert a block with an attribute at a predefined location on each layout. I believe using the ordinal position is not the answer because I believe that the ordinal position seems to report the order in which the layout was created.
How can I access the order the item (layout) is displayed on the screen? A short vba or lisp snippet to get started would be great. I believe I can get it from there.
VBA doesn't expose the information about the order that tabs appear on the dwg status bar. All you can do is iterate the Layouts collection. Still, I don't see why you would need that if you are just inserting a block on each. Would checking the layout's Name as you iterate help?
Pardon me. I never noticed that property before. However, that is a property of the Layout, so you can't iterate on the tab number. You would have to iterate the Layouts collection to get a layout and then decide what to do based on the TabOrder. Same idea as I mentioned before, just on a different property.
Model tab is fixed at 0, i.e. you can't move its position. You can use that to eliminate processing the model tab with (Layout.TabOrder >0)