# Define Layout Viewport from Model Space [GstarCAD 2018](Help%20System/GSTARCAD/2018/Index.md) → [What's new](Help%20System/GSTARCAD/2018/What's%20new/(What's%20new).md) ## Define Layout Viewport from Model Space **Command name: M2LVPORT** M2LVPORT command creates a viewport on layout space by selecting objects in the model space. And then calculate the viewport size according to the set scale and locate the viewport in the layout space. You can quickly create and set a viewport of the current drawing.This command can be quickly invoked on the right-click menu of the model/layout tab. ![](Help%20System/GSTARCAD/2018/assets/GCAD_NEW/GCAD_GUG/pic/Define%20Layout%20Viewport%20from%20Model%20Space%201.jpg) ![](Help%20System/GSTARCAD/2018/assets/GCAD_NEW/GCAD_GUG/pic/Define%20Layout%20Viewport%20from%20Model%20Space%202.jpg) --- Xi'an Gstarsoft Ltd ## Other versions with matching text [GstarCAD 2019](Help%20System/GSTARCAD/2019/Innovative%20Features/Define%20Layout%20Viewport%20from%20Model%20Space.md)