Over 1.113.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
The new Beam calculator, Spirograph generator and Regression curves in the Converters section.
CAD tip # 2699:
Question
A
When switching from the modelspace to a layout (or vice-versa) you can automatically set your own value for the LTSCALE variable (linetype scale). The LayoutSw utility (reactor) can assist you in this automatic switching. When switching from paperspace to modelspace, LayoutSw resets the LTSCALE value multiplied by the current DIMSCALE (user defined scale). For paperspace (layouts) it uses a fixed LTSCALE value. The reactor also resets the PSLTSCALE variable to 1 (unless the layout LTSCALE is set to 0 - in this case it resets PSLTSCALE to 0 and doesn't touch LTSCALE).
After you load the application (_APPLOAD) you can use the LAYOUTSW command to setup LTSCALE for modelspace and layouts.
For download on www.cadstudio.cz/developuk.
To setup the LayoutSw scales programmatically, use e.g.:
(vlax-ldata-put "LayoutSw" "Model" "10.0") (vlax-ldata-put "LayoutSw" "Paper" "100.0")
ACAD2014ACAD2010ACAD2008ACAD2004ACAD2000ADT2007ADT2004ADT3
26.11.2002
27800×
this tip shared by ARKANCE experts applies to: AutoCAD 2014 · AutoCAD 2010 · AutoCAD 2008 · AutoCAD 2004 · AutoCAD 2000 · AutoCAD Architecture 2007 · AutoCAD Architecture 2004 · AutoCAD Architecture 3 ·
![CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]](../common/arkance_186.png)

