;;DEFAULT======================================================================
;;
;; customization file for OneSpace Designer 3D Library, loaded after startup
;;


;;-----------------------------------------------------------------------------
;; Set up the colors for Library Parts
;;-----------------------------------------------------------------------------
;(SDAPS_SETUP_COLOR
; :color1 :rgb 0.60,0.60,0.75 :done
; :color2 :rgb 1.00,0.80,0.635 :done
; :color3 :rgb 1.00,0.63,0.60 :done
; )

;;-----------------------------------------------------------------------------
;; Set up the Link to the Design Data Management
;;-----------------------------------------------------------------------------
;(if (oli::sd-license-free-module-active-p "PEWMSD")
;    (SDAPS_SETUP_WMLNK :wm_on_off :on)
;  (SDAPS_SETUP_WMLNK :wm_on_off :off)
; )

;;-----------------------------------------------------------------------------
;; Set length of list of kept standard parts which were selected once
;;-----------------------------------------------------------------------------
;(SDAPS_SML_DIRECT :CLASS_LIST_LENGTH  10)

;;-----------------------------------------------------------------------------
;; Enable the DIN parts of the 3D Library, which was default until SD rev 9.x
;;     licence "DIN Library 100 3D Parts" is required
;;   as long as there are no DIN parts included in the configuration there's
;;      no need to pull a licence for them
;;-----------------------------------------------------------------------------
(SDAPS_SETUP_DIN_CLASSES :DIN_100 :ON)

;;-----------------------------------------------------------------------------
;; Customize the part name used for 3D Library parts
;;   the function lpo_vdaps::solidlib-get-name (fixed name)
;;   has to return a string as prefix for part names
;;-----------------------------------------------------------------------------
;(defun lpo_vdaps::solidlib-get-name (args)
;        (format nil "LIB_~A_~A."
;                (getf args :CLASS-NAME)
;                (getf args :CLASS-NB)
;                )
;        )

;;-----------------------------------------------------------------------------
;; To mirror the part menu button of 3D Library into OneSpace Designer's
;;  main task menu. 
;; This manually added button will not be removed when SolidLibray will be
;;  deactivated
;;-----------------------------------------------------------------------------
;(oli::sd-add-menu-button "SDAPS_PART"
;    :parent  '("TASK" "SolidDesigner")
;    :label   (sd-get-control-title "TASK-SDAPS_APPL_MENUE-SDAPS_PART-TB")
;    :image   "SolidLib/sl_part_class"
;    :mapMenu "SDAPS_PART_MAIN_MENU")
