Customization Guide
Total Page:16
File Type:pdf, Size:1020Kb
AutoCAD LT 2011 Customization Guide February 2010 © 2010 Autodesk, Inc. All Rights Reserved. Except as otherwise permitted by Autodesk, Inc., this publication, or parts thereof, may not be reproduced in any form, by any method, for any purpose. Certain materials included in this publication are reprinted with the permission of the copyright holder. Trademarks The following are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and other countries: 3DEC (design/logo), 3December, 3December.com, 3ds Max, Algor, Alias, Alias (swirl design/logo), AliasStudio, Alias|Wavefront (design/logo), ATC, AUGI, AutoCAD, AutoCAD Learning Assistance, AutoCAD LT, AutoCAD Simulator, AutoCAD SQL Extension, AutoCAD SQL Interface, Autodesk, Autodesk Envision, Autodesk Intent, Autodesk Inventor, Autodesk Map, Autodesk MapGuide, Autodesk Streamline, AutoLISP, AutoSnap, AutoSketch, AutoTrack, Backburner, Backdraft, Built with ObjectARX (logo), Burn, Buzzsaw, CAiCE, Civil 3D, Cleaner, Cleaner Central, ClearScale, Colour Warper, Combustion, Communication Specification, Constructware, Content Explorer, Dancing Baby (image), DesignCenter, Design Doctor, Designer's Toolkit, DesignKids, DesignProf, DesignServer, DesignStudio, Design Web Format, Discreet, DWF, DWG, DWG (logo), DWG Extreme, DWG TrueConvert, DWG TrueView, DXF, Ecotect, Exposure, Extending the Design Team, Face Robot, FBX, Fempro, Fire, Flame, Flare, Flint, FMDesktop, Freewheel, GDX Driver, Green Building Studio, Heads-up Design, Heidi, HumanIK, IDEA Server, i-drop, ImageModeler, iMOUT, Incinerator, Inferno, Inventor, Inventor LT, Kaydara, Kaydara (design/logo), Kynapse, Kynogon, LandXplorer, Lustre, MatchMover, Maya, Mechanical Desktop, Moldflow, Moonbox, MotionBuilder, Movimento, MPA, MPA (design/logo), Moldflow Plastics Advisers, MPI, Moldflow Plastics Insight, MPX, MPX (design/logo), Moldflow Plastics Xpert, Mudbox, Multi-Master Editing, Navisworks, ObjectARX, ObjectDBX, Open Reality, Opticore, Opticore Opus, Pipeplus, PolarSnap, PortfolioWall, Powered with Autodesk Technology, Productstream, ProjectPoint, ProMaterials, RasterDWG, RealDWG, Real-time Roto, Recognize, Render Queue, Retimer,Reveal, Revit, Showcase, ShowMotion, SketchBook, Smoke, Softimage, Softimage|XSI (design/logo), Sparks, SteeringWheels, Stitcher, Stone, StudioTools, ToolClip, Topobase, Toxik, TrustedDWG, ViewCube, Visual, Visual LISP, Volo, Vtour, Wire, Wiretap, WiretapCentral, XSI, and XSI (design/logo). All other brand names, product names or trademarks belong to their respective holders. Disclaimer THIS PUBLICATION AND THE INFORMATION CONTAINED HEREIN IS MADE AVAILABLE BY AUTODESK, INC. "AS IS." AUTODESK, INC. DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE REGARDING THESE MATERIALS. Published by: Autodesk, Inc. 111 McInnis Parkway San Rafael, CA 94903, USA Contents Chapter 1 Basic Customization . 1 Overview of Customization . 1 Organize Program and Support Files . 3 Overview of File Organization . 3 Multiple Configurations . 6 Multiple Drawing Folders . 7 Locate Customized Files . 8 Locate Plot Style Files . 9 Locate Plotter Files . 10 Locate the PMP File . 10 Locate Support Files . 11 Locate Drawing Template Files . 14 Customize a Publish to Web Template . 14 Create Command Aliases . 17 Chapter 2 Custom Linetypes . 19 Overview of Linetype Definitions . 19 Simple Custom Linetypes . 20 Text in Custom Linetypes . 24 Chapter 3 Custom Hatch Patterns . 27 Overview of Hatch Pattern Definitions . 27 Hatch Patterns with Dashed Lines . 30 iii Hatch Patterns with Multiple Lines . 34 Chapter 4 User Interface Customization . 39 Understand User Interface Customization . 39 Overview of the Customization . 39 Use the Customization Environment . 41 Overview of the Customize User Interface (CUI) Editor . 42 Work with the Customizations In Pane . 44 Work with the Command List Pane . 45 Work with the Dynamic Display Pane . 46 How Customization Has Changed . 48 Customization Glossary . 54 Work with the Customize User Interface (CUI) Editor . 58 Create a Command . 58 Create User Interface Elements . 60 Create a Quick Access Toolbar . 60 Customize the Ribbon . 61 Create a Toolbar . 64 Create a Pull-Down Menu . 65 Create a Shortcut Menu . 67 Customize Shortcut Key . 68 Create a Double Click Action . 68 Create a Mouse Button . 69 Create and Modify Workspaces . 69 Create a Workspace from the User Interface . 70 Create a Workspace with the CUI Editor . 71 Create and Manage Customization Files . 73 Basics of Customization Files . 73 Create and Load a Partial CUIx File . 78 Create an Enterprise CUIx File . 82 Find and Replace Commands and Text in a CUIx File . 86 Customize Commands . 92 Overview of Commands . 92 Create, Edit, and Reuse Commands . 94 Create Macros . 101 Overview of Macros . 101 Use Special Control Characters in Macros . 104 Pause for User Input in Macros . 106 Provide International Support in Macros . 108 Repeat Commands in Macros . 109 Use Single Object Selection Mode in Macros . 110 Use Macros to Swap User Interface Elements . 110 Use Conditional Expressions in Macros . 111 Control the Display of Command Items . 113 Assign Search Tags . 119 iv | Contents Create Tooltips and Extended Help for Commands . 122 Create Status Line Help Messages . 128 Assign, Create, and Manage Images for Commands . 129 Assign Images to a Command . 129 Create and Edit Custom Images for Commands . 132 Manage, Import, and Export Custom Images . 134 Customize User Interface Elements . 139 Quick Access Toolbars . 142 Ribbon . 148 Ribbon Panels . 149 Ribbon Tabs . 180 Ribbon Contextual Tab States . 186 Toolbars . 190 Create and Edit Toolbars . 190 Add Flyouts to a Toolbar . 202 Add, Remove or Switch Toolbar Controls . 207 Pull-down and Shortcut Menus . 212 Overview of Pull-Down and Shortcut Menus . 212 Create a Pull-Down Menu . 213 Create a Shortcut Menu . 217 Create Submenus . 227 Reference Pull-Down or Shortcut Menus . 229 Swap and Insert Pull-Down Menus . 230 Quick Properties . 233 Rollover Tooltips . 241 Keyboard Shortcuts . 248 Shortcut Keys . 248 Temporary Override Keys . 255 Double Click Actions . 262 Overview of Double Click Actions . 262 Double Click Action Object Names . 266 Examples of Double Click Actions . 269 Mouse Buttons . 270 Overview of Mouse Buttons . 270 Accept Coordinate Entry in Button Menus . 271 Legacy Interface Elements . 272 Create Tablet Menus . 272 Customize Tablet Buttons . 274 Create Image Tile Menus . 275 Customize Workspaces . 280 Overview of Workspace Customization . 280 Control User Interface Elements Outside the CUI Editor . 293 Control User Interface Elements in the CUI Editor . 296 Control the Appearance of Palettes . 312 Transfer and Migrate Customization . 316 Customize User Interface (CUI) Editor FAQs . 319 Contents | v Chapter 5 DIESEL . 325 Customize the Status Line . 325 Overview of the MODEMACRO System Variable . 325 Set MODEMACRO Values . 326 DIESEL Expressions in Macros . 328 Catalog of DIESEL Functions . 331 + (addition) . 331 - (subtraction) . 331 * (multiplication) . 331 / (division) . 332 = (equal to) . 332 < (less than) . 333 > (greater than) . 333 != (not equal to) . 333 <= (less than or equal to) . 334 >= (greater than or equal to) . 334 and . 335 angtos . 335 edtime . 336 eq . 337 eval . ..