Create drawings from models (Creo Elements/Direct Annotation) > Configure Creo Elements/Direct Annotation > Create templates and styles > Configure frames
  
Configure frames
You can create customized frames and then define them for use in Creo Elements/Direct Annotation. The frame definition functions are included in the am_customize file, but they can also be loaded into Creo Elements/Direct Annotation in a separate file.
To create a frame,
1. Create a new sheet in a Creo Elements/Direct Annotation drawing with a predefined frame or with no frame.
Click Annotation and then, in the Setup group, click New Sheet. The Create dialog box opens.
You can change the size of the frame to nonstandard dimensions with the Frame in the Sheet Properties dialog box. To open Sheet Properties dialog
a. Click Annotation and then, in the Setup group, click the arrow next to Properties.
b. Click Sheet.
2. Build the frame as required.
The drawing elements that can be added to a frame are the following:
Sketches
Geometry (including manual hatching)
Text (including text references)
Symbols
Be sure to specify the owner of added elements as Act Frame.
3. Save the new frame with Save Frame in the File menu.
Now you can register the new frame so that it is available in the Creo Elements/Direct Annotation interface.
To register a new frame type, copy the function docu-register-frame from the am_customize file, and enter the required names:
(docu-register-frame :ui-name "Name that appears in the Annotation interface"
:file "Path and filename of frame"
:wm-name "Document name in WorkManager (optional)")
For example:
(docu-register-frame :ui-name "A4"
:file "/frames/format_A4"
:wm-name "WM_A4")
The path for the file can be either absolute or relative to Creo Elements/Direct Annotation's search path.
Other frame customization functions are the following:
(docu-unregister-frame-all) de-registers all previously defined frame types. Use this to exclude all the Creo Elements/Direct Annotation defaults and use only a defined set of frames.
(docu-unregister-frame "ui-name") de-registers the named frame type only.
The ui-name variables are displayed in the user interface and must be unique. If you register a frame with an already existing ui-name, the old frame is de-registered automatically.