PDA

View Full Version : Tip: Setting the Default Update Type


John Scheffel
11-01-2002, 03:53 PM
Annotation 11.6 has added a new command which allows you to set the default Type for the View Update function. In the past several people I support asked how to do this and the answer was "you can't". I think this will be a popular new customization. Here is some example code that you can add to your am_customize file to change this setting:
;;----------------------------------------------------------------------------
;; Starting with version 11.6, you can set the default Type for updating
;; a view/sheet/drawing. The default is :VIEW. Be careful about changing
;; to your default to :DRAWING since it may cause long updates if you
;; don't change this default while updating. Uncomment one of the
;; following lines to set your default type.

;(docu_set_default_type_for_update :VIEW)
;(docu_set_default_type_for_update :VIEW-SET)
;(docu_set_default_type_for_update :SHEET)
;(docu_set_default_type_for_update :DRAWING)

Bob Zajeski
11-04-2002, 05:34 AM
Thanks John! That just saved me 1,825 clicks a year!

I'd like to see postings of am_customize files. I still have trouble getting Annotator to start the way I like to use it.

Jim McKim
11-19-2002, 05:18 PM
I tested this in v11.5, and it seems to work just fine, so I would revise John's original post to read "starting with version 11.5..." even though it looks like he copied the comments directly from something CoCreate published.

Thanks, John. Good tip.

Jim McKim
12-18-2002, 12:35 PM
Now that I've set the default update type to DRAWING instead of VIEW for our network, my recent work has been editting existing drawings and I usually want to update only one view! Figures...
I knew I can change the default by entering my choice at the command line, but I wanted a toolbar button for updating a single view without changing the default behaviour. So, I created a new command called Update One View with the following command string: (UI::UIC-AM-ACTION "am_view_update :update_amount 3") and made a bitmap image based on the one for Update View but add the numeral "1" in the empty space in the upper right area. Then I dragged this command onto an existing toolbar. Works like a champ.:D
I've attached the bitmap file.