Create drawings from models (Creo Elements/Direct Annotation) > Advanced topics > Customization for advanced users > Other functions
  
Other functions
You can customize the following miscellaneous areas of Creo Elements/Direct Annotation:
The DOCU-BLEND-REPLACEMENT function
The DOCU-BROWSER-DISPLAY-ALL function
The DOCU-SET-DEFAULT-FILE-SUFFIX function
The DOCU-SELECTED-SETTINGS-SINGLE-SELECTION-AUTO-GRAB function
The DOCU-CLEAR-TOP-PART-FOR-IMPORTED-SD-FILES function
The DOCU-BLEND-REPLACEMENT function
In the 2D representation of models, some blended edges are calculated as spline edges and therefore cannot be dimensioned directly with radius or diameter dimensioning. The DOCU-BLEND-REPLACEMENT function can be used to force such edges to be replaced by arcs, which can be dimensioned:
Blend Replacement
The default setting (t) is to replace all possible blend edges that are splines. Due to the approximation resulting from the edge replacement, you may get small gaps between the new blend edge (arc) and the tangent edges of the blend faces (vertex region).
Syntax
(SETQ DOCU::*DOCU-BLEND-REPLACEMENT* t or nil)
The DOCU-BROWSER-DISPLAY-ALL function
The DOCU-BROWSER-DISPLAY-ALL function can be used to display in the Drawing Browser the names of the visible components of a view. In some cases it could be useful to know the visible objects (parts and assemblies) belonging to a view (indicated by a triple question-mark icon):
Display Visible Objects
The default (nil) is to hide visible objects in the browser.
Syntax
(setq DOCU::*DOCU-BROWSER-DISPLAY-ALL* t or nil)
* 
This function is a Goodie (therefore unsupported) and may possibly be modified in a future release of Creo Elements/Direct Annotation.
The DOCU-SET-DEFAULT-FILE-SUFFIX function
By default, Creo Elements/Direct Annotation uses the same predefined suffix (.mi) as Creo Elements/Direct Drafting to store 2D data files. The DOCU-SET-DEFAULT-FILE-SUFFIX function sets any specified suffix to be the default when saving drawings, sketches, and frames.
Syntax
(DOCU-SET-DEFAULT-FILE-SUFFIX "string")
Options
Enter any string for the default file suffix. For example, the default is (docu-set-default-file-suffix "mi").
The DOCU-SELECTED-SETTINGS-SINGLE-SELECTION-AUTO-GRAB function
When you select an object for a selected settings modification, the object's parameters are filled into the menu fields automatically. The DOCU-SELECTED-SETTINGS-SINGLE-SELECTION-AUTO-GRAB function can be used to switch off this implicit "grab" behavior. The default setting (:on) is to use this behavior.
Syntax
(DOCU-SELECTED-SETTINGS-SINGLE-SELECTION-AUTO-GRAB :ON or :OFF)
The DOCU-CLEAR-TOP-PART-FOR-IMPORTED-SD-FILES function
When you load a drawing via Import 2D, the TOP part usually stays unchanged. By loading drawings containing elements there, it might happen, that a lot of elements get accumulated in the TOP part and although they are not visible this will nevertheless lead to an increase of file size and a decrease of performance. The DOCU-CLEAR-TOP-PART-FOR-IMPORTED-SD-FILES function can be used to switch on the removal of Top part geometry during every import of 2D drawings. For performance reasons the default setting (:off) is to not to use this behavior.
Syntax
(DOCU-CLEAR-TOP-PART-FOR-IMPORTED-SD-FILES :ON or :OFF)