Personalize the standar scale list for layout???

In autocad is posible to change the values from this list and personalize wiht other to appears in this llist, i don´t know how to make this changes in Bricscad.Sorry about my English

Comments

  • I don't think it's possible to customize the Properties palette.But you can create a custom Menu Item that sets the viewport to the scale you want.First, use Lisp to create a custom command for each scale.Here's lisp code to create commands for 2 different scales:

    ;;; commands to set the scale of the currently selected viewport;;; 1 1/2" = 1' - 0" (1 : 8)(defun c:Scale8 ( / ss1 SF)(setq ss1 (ssget))(Setq SF (/ 1.0 8))(command "mspace")(Setq VP-Obj (Vla-Get-ActivePViewport (Vla-Get-ActiveDocument (Vlax-Get-Acad-Object))))(Vla-Put-CustomScale VP-Obj SF)(command "pspace")(sssetfirst nil ss1));;; 1 : 25 (defun c:Scale25 ( / ss1 SF)(setq ss1 (ssget))(Setq SF (/ 1.0 25))(command "mspace")(Setq VP-Obj (Vla-Get-ActivePViewport (Vla-Get-ActiveDocument (Vlax-Get-Acad-Object))))(Vla-Put-CustomScale VP-Obj SF)(command "pspace")(sssetfirst nil ss1))

    Include the code for all the custom commands in your On_start.lsp file, or in a separate LSP file that's loaded by On_start.lspThen create a custom menu item for each scale, by using the Customize command.Right-click on any menu or menu item and select "Insert Item" or "Append Item"For the second example given above, you would use this to define the new menu item:Title = 1 : 25Command = Scale25

  • Thanks ,I will try it

  • The Lisp command I posted above is old and pretty crude. It only works with layouts that have a single viewport.I made a less crude version, together with a Partial CUI file to set the common scales used in construction in the USA, and posted them at:http://www.theswamp.org/index.php?topic=28510.new#new

This discussion has been closed.