VB for MVIEW related to layers

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have no experience with VB in Autocad but have used it quite often in other word based applications and know the abilities it has. I was wondering if it could be applied in Autocad as a Macro based function to key on MVIEW of certain things.
Background: Viewport 1 is assigned to "Viewport 1" Layer (the frame of it) I am currently applying the layer in which the viewport frame appears. I MVIEW = ON for that viewport frame and the viewport appears. This works vice versa as well. In general this is similar throughout the whole file. What I am wondering is if you could use a Macro that would function in a way that "Viewport" Layer is turned on that frame which is assigned to it appears. EIther by the turning on of the layer or by the frame appearing could this trigger MVIEW = ON and for the turning off of layer or frame disappearing MVIEW = OFF.