Extended modules > 3D Documenation > Create 3D documentation > Other functions
  
Other functions
You can customize the following areas of 3D Documentation relating to various things:
The SET-DEFAULT-ANNO-UI-VALUES function
The REGISTER-DOC3D-TEXT-CATEGORY function
The DOC3D-SHOW-GENERIC-TEXT-IN-CUSTOM-FEATURE-REPORT function
The DOC3D-SET-WELDING-SYMBOL-SIZES function
The DOC3D-SET-SURFACE-SYMBOL-VISIBILITY function
The SET-DEFAULT-ANNO-UI-VALUES function
The SET-DEFAULT-ANNO-UI-VALUES function controls the default settings in the dialogs used to create annotations. This is useful when you use a particular setting more often than others.
Syntax
(DOC3D:SET-DEFAULT-ANNO-UI-VALUES
:USE_DOCUPLANE :DP or :FREE or :PDS
:PREFIX string or :PDS
:POSTFIX string or :PDS
:SUPERFIX string or :PDS
:SUBFIX string or :PDS
:TOL_TYPE :TOL_NONE or :TOL_BASIC or :TOL_DEFAULT or :TOL_PLUS_MINUS or :TOL_UPP_LOW or :TOL_LIMIT or :PDS
:PM_TOL string or value
:UPPER_TOL string or value
:LOWER_TOL string or value
:LIMIT1_TOL value
:LIMIT2_TOL value)
* 
Persistent Data Storage (PDS) maintains the last entered value, and makes it available upon reopening.
Options
:USE_DOCUPLANE specifies whether the default placement setting is to docuplane (:DP) or to free annotations (:FREE).
:PREFIX, :POSTFIX, :SUPERFIX, and :SUBFIX set a default string for each of the fix texts.
:TOL_TYPE sets the default tolerance type for new annotations.
:PM_TOL, :UPPER_TOL, :LOWER_TOL, :LIMIT1_TOL, and :LIMIT2_TOL set the default values or strings for each of the different tolerance types. Values are in the context of current user units.
Example
(doc3d:set-default-anno-ui-values
:use_docuplane :dp
:prefix "ca." :postfix "" :subfix "" :superfix ""
:tol_type :tol_plus_minus
:pm_tol "0.3"
:upper_tol "0"
:lower_tol "0"
:limit1_tol 0
:limit2_tol 0)
The REGISTER-DOC3D-TEXT-CATEGORY function
The REGISTER-DOC3D-TEXT-CATEGORY function allows you to create 3D Notes and Generic Text categories specific to your environment. (This function is in the file, dif_customize.)
Syntax
(REGISTER-DOC3D-TEXT-CATEGORY 
 :CATEGORY :category 
 :LABEL "label"  
:SELECTION (DOC3D:INITIAL-TEXT-SELECTION-TYPES)   
Options
CATEGORY specifies the category.
LABEL is the text in the drop-down menu.
Example
(register-doc3d-text-category  
:category :mfg 
  :label "Mfg."  
:selection (doc3d:initial-text-selection-types)
)
(register-doc3d-text-category  
:category :special  
:label "Special"  
:selection (doc3d:initial-text-selection-types)
)
The DOC3D-SHOW-GENERIC-TEXT-IN-CUSTOM-FEATURE-REPORT function
The DOC3D-SHOW-GENERIC-TEXT-IN-CUSTOM-FEATURE-REPORT function controls the inclusion of 3D Generic Text notes in the Custom Feature Report: if the parameter is t, the generic text notes will be included. If the parameter is nil, they will not. The default is nil.
Syntax
 (DOC3D:SHOW-GENERIC-TEXT-IN-CUSTOM-FEATURE-REPORT     t  or   nil)
Example
(doc3d:SHOW-GENERIC-TEXT-IN-CUSTOM-FEATURE-REPORT   t)
The DOC3D-SET-WELDING-SYMBOL-SIZES function
The doc3d-set-welding-symbol-sizes function defines the appearance of welding symbols.
Options
:text-geo-ratio defines the ratio between the text and the geometric subsymbol within the welding symbol. A value of 1 assigns the text (e.g., the parameter t1) the same height as the geometric subsymbol (the weld symbol, e.g., parameter g2 or g4). The value 0.5 makes the text half the height of the geometric subsymbol.
:allaround-circle defines the diameter of the all-around circle.
:indication-height defines the height of the indication flag.
:indication-width defines the width of the indication flag.
Syntax
(doc3d-set-welding-symbol-sizes   
:text-geo-ratio        rational number
:allaround-circle      rational number   
:indication-height    rational number
:indication-width     rational number )
Example
(doc3d::doc3d-set-welding-symbol-sizes :allaround-circle 4.5 :text-geo-ratio 0.7 :indication-height 6.0 :indication-width 4.0)
The DOC3D-SET-SURFACE-SYMBOL-VISIBILITY function
The doc3d-set-surface-symbol-visibility function defines the visibility of surface symbol standards. See Create surface symbols.
Options
:all makes both surface symbol standards visible in the Template browser.
:ISO1992 makes only ISO1992 surface symbol standard visible in the Template browser.
:ISO2002 makes only ISO2002 surface symbol standard visible in the Template browser.
Syntax
(doc3d-set-surface-symbol-visibility
:all | :ISO1992 | :ISO2002)
Example
(doc3d::doc3d-set-surface-symbol-visibility :ISO1992)