Creo Elements/Direct Model Manager Customization Guide > Additional Customizations > Customize Creo Elements/Direct Modeling's Model Manager menu
Customize Creo Elements/Direct Modeling's Model Manager menu
Settings in the sd_customize file allow the Creo Elements/Direct Modeling customizer to remove entries from the Creo Elements/Direct Model Manager menus.
The sd_customize file
The sd_customize file is found in:
C:\Documents and Settings\%user%\Application Data\PTC\Creo Elements Direct Modeling 20.6\<version>\sd_customize
If this file does not exist, you will need to create it.
List of all command keys and their defaults:
A value of "t" indicates that the command is enabled. A value of "nil" disables the command.
(defvar mei::*mm-commands-activation*
;; Modeling
`((:MM_ADD_BBOX ,t)
((:MM_ADD_LIGHTWEIGHT ,t)
(:MM_ADD_THUMBNAIL ,t)
(:MM_ALLOW_EDIT ,t)
(:MM_ASSIGN_NEW_SYSID ,t)
(:MM_CHANGE_LOAD_TYPE ,t)
(:MM_COMPARE ,t)
(:MM_COMPARE_VERSION_TO_ORIGINAL ,t)
(:MM_LOAD ,t)
(:MM_REFRESH_STATUS ,t)
(:MM_RELOAD ,t)
(:MM_RELOAD_UPDATE ,t)
(:MM_REPLACE_VERSION_WITH_ORIGINAL ,t)
(:MM_RESERVE ,t)
(:MM_SAVE ,t)
(:MM_SAVE_EDRAWING_3D ,t)
(:MM_SAVE_LIGHTWEIGHT ,t)
(:MM_SAVE_MODIFIED ,t)
(:MM_SAVE_PKG ,t)
(:MM_SAVE_PRODUCTVIEW ,t)
(:MM_SAVE_SNAPSHOT ,t)
(:MM_SAVE_XVL ,t)
(:MM_SHOWEDITOR ,t)
(:MM_SHOWEDITOR_PART ,t)
(:MM_SHOW_ATTR_BROWSER ,t)
(:MM_SHOW_MANAGER ,t)
(:MM_STRUCTURE_COMPARE ,t)
(:MM_SWAP_VERSION_WITH_ORIGINAL ,t)
(:MM_SYNC_LIBRARY_PARTS ,t)
(:MM_UNRESERVE ,t)
(:MM_UPDATE ,t)
(:MM_WORKSPACE ,t)
;; Check and Resolve
(:MM_CR_ASSIGN_NEW_SYSIDS ,t)
(:MM_CR_ASSIGN_NEW_SYSIDS_AND_CHANGE_NAMES_DIALOG ,t)
(:MM_CR_CHECK_AND_RESOLVE ,t)
(:MM_CR_CLOSE_COMPARE_VPS ,t)
(:MM_CR_CLOSE_VP_AT_RESOLVE_SWITCH ,t)
(:MM_CR_COMPARE_VERSIONS ,t)
(:MM_CR_OVERWRITE_DB ,t)
(:MM_CR_REFRESH_COMPARE_VPS ,t)
(:MM_CR_REPLACE_BY_COMPARE_MODEL ,t)
(:MM_CR_REPLACE_BY_NEWEST_VERSION ,t)
(:MM_CR_SHOW_PROPERTIES_OF_NEWEST_VERSION ,t)
;; Annotation
(:MM_AM_ADD_PDF ,t)
(:MM_AM_ADD_THUMBNAIL ,t)
(:MM_AM_LOAD ,t)
(:MM_AM_OPENEDITOR ,t)
(:MM_AM_OPENEDITOR_MENU ,t)
(:MM_AM_OPENEDITOR_PART_MENU ,t)
(:MM_AM_RESERVE ,t)
(:MM_AM_SAVE ,t)
(:MM_AM_SAVE_EDRAWING ,t)
(:MM_AM_SAVE_TB ,t)
(:MM_AM_UNRESERVE ,t)
(:MM_AM_UPDATE_TB ,t)))
Create or edit the sd_customize file
1. Add the following lines to the sd_customize file to disable all Creo Elements/Direct Model Manager save commands:
(defvar mei::*mm-commands-activation*
`((:MM_SAVE ,nil)
(:MM_SAVE_SNAPSHOT ,nil)
(:MM_SAVE_EDRAWING_3D ,nil)
(:MM_SAVE_LIGHTWEIGHT ,nil)
(:MM_SAVE_MODIFIED ,nil)
(:MM_SAVE_PKG ,nil)
(:MM_SAVE_XVL ,nil)
(:MM_AM_SAVE ,nil)
(:MM_AM_SAVE_EDRAWING ,nil)
(:MM_AM_SAVE_TB ,nil)
(:MM_SAVE_PRODUCTVIEW ,nil)
(:MM_ADD_BBOX ,nil)
))
2. Save the file.
Test the customization
1. Start Creo Elements/Direct Modeling.
2. Create a model.
3. Start Creo Elements/Direct Model Manager.
4. Look at all of the Creo Elements/Direct Model Manager menus. The Save operations are unavailable.
Was this helpful?