Tailoring Progecad R V E D W O L I E
Total Page:16
File Type:pdf, Size:1020Kb
tailoring progeCAD r v e d w o l i e. customizing and programming progeCAD by R. H. Grabowski u p F r o n t . e Z i n e P u b l i s h i n g C o p y r i g h t 2 0 9 b u F n . e Z P l s , L d A ○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○ table of contents 1 Copyright Information Copyright © 2009 by upFront.eZine Publishing, Ltd. All rights reserved worldwide. All Rights Reserved All brand names and product names mentioned in this book are trademarks or service marks of their respective companies. Any omission or misuse (of any kind) of service marks or trademarks should not be regarded as intent to infringe on the property of others. The publisher recognizes and respects all marks used by companies, manufacturers, and developers as a means to distinguish their products. This book is sold as is, without warranty of any kind, either express or implied, respecting the contents of this book and any disks or programs that may accompany it, including but not limited to implied warranties for the book’s quality, performance, merchantability, or fitness for any particular purpose. Neither the publisher, authors, staff, or distributors shall be liable to the purchaser or any other person or entity with respect to any liability, loss, or damage caused or alleged to have been caused directly or indirectly by this book. Technical writer Ralph Grabowski Technical editors The progeCAD Team Copy editor Herbert Grabowski ○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○ 2 tailoring progeCAD Contents 1 • Tailoring the Environment of progeCAD............... 13 Starting progeCAD 2009 .............................................................. 14 Changing the User Interface ........................................................ 14 Changes Through Windows ........................................................................... 14 Windows 2000 and XP ........................................................................................... 14 Windows Vista and 7 ............................................................................................. 15 Changes Through progeCAD .......................................................................... 15 Options: General .................................................................................................. 15 Options: Paths ............................................................................. 17 Search Path Options .............................................................................................. 18 Default System File Names ..................................................................................... 20 Options: Display .......................................................................................... 21 Graphics Window .................................................................................................. 21 Background Colors ................................................................................................ 21 Menus ................................................................................................................. 22 Crosshair Colors and Size .............................................................................. 23 Axis Color ............................................................................................................ 23 Snap Cursor Colors and Markers .................................................................... 24 Other User Interface Elements .................................................... 26 Command Bar ............................................................................................. 26 Status Bar .................................................................................................. 27 Drawing Tabs .............................................................................................. 27 Toolbars ..................................................................................................... 28 Startup Options ........................................................................... 28 Statup Switch .............................................................................................. 29 /b Switch ............................................................................................................. 29 2 • Creating Keystroke Shortcuts & Aliases ................30 Shortcut Keys .............................................................................. 31 Defining Shortcut Keys ................................................................................. 32 Editing Keyboard Shortcuts .................................................................................... 33 Deleting Keyboard Shortcuts .................................................................................. 34 Assigning Multiple Commands ........................................................................ 34 Command Aliases ........................................................................ 35 Creating New Aliases .................................................................................... 36 Editing Aliases ...................................................................................................... 37 Deleting Aliases .................................................................................................... 37 Rules for Writing Aliases ............................................................................... 37 progeCAD Aliases: Sorted by Command Name ................................................. 38 ○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○ table of contents 3 Sharing Shortcuts ........................................................................ 40 Exporting Shortcuts & Aliases ........................................................................ 40 Importing Shortcuts and Aliases ..................................................................... 41 Importing Through the Command Bar ...................................................................... 41 File Formats ................................................................................ 42 Keystroke Shortcuts - .ick ............................................................................. 42 nAccelKeys .......................................................................................................... 42 [AccelKey-n] ........................................................................................................ 42 Command ............................................................................................................ 42 Accel ................................................................................................................... 43 Aliases - .ica ............................................................................................... 44 nAliases= ............................................................................................................ 44 Alias= ................................................................................................................. 45 LocalCommand= and GlobalCommand= ................................................................... 45 3 • Modifying Toolbars & Writing Macros.................. 46 Customizing the Toolbar Look ..................................................... 47 Rearranging Toolbars .................................................................................... 47 Dragging & Moving Toolbars ................................................................................... 48 Toggling the Display of Toolbars ............................................................................. 49 Creating New Toolbars ................................................................ 50 Renaming Toolbars ....................................................................................... 51 Changing Button Size, Color, and Tooltips ................................................................ 52 Writing Toolbar Macros ............................................................... 53 Simple Macros ............................................................................................. 54 Intermediate Macros .................................................................................... 55 Toolbar Macros Are No Panacea .............................................................................. 55 Sharing Toolbars ......................................................................... 56 Saving Toolbars ........................................................................................... 56 Importing Toolbars ....................................................................................... 56 .mnu File Format ......................................................................... 58 General Format ............................................................................................ 58 Toolbar Format ............................................................................................ 59 ***TOOLBARS ...................................................................................................... 59 **name ............................................................................................................... 59 TBAR_name ......................................................................................................... 59 _Toolbar .............................................................................................................. 59 "titleBar" ............................................................................................................