• progeCAD in French Language
  • progeCAD in Spanish Language
  • progeCAD in English Language
Home > Support > Vba API > Visual Basic Reference > Reference Guide > Events > LayoutSwitched Event 

LayoutSwitched Event

LayoutSwitched Event

LayoutSwitched event

Occurs after switching to view a different layout.

Syntax

object.LayoutSwitched(LayoutName)

Where:

     object is a valid Document object.

     LayoutName is a String representing the name of the layout that was switched to.

LayoutSwitched event example

 
DWG is the native file format for Autodesk AutoCAD®. Autodesk and AutoCAD are registered trademarks or trademarks of Autodesk, Inc. in the USA and/or other countries. progeSOFT and progeCAD are registered trademarks or trademarks of progeCAD s.r.l. in the USA and/or other countries.