How to.. > Attach documents to models
Attach documents to models
You can attach local files, directories, or CAD documents to the models that are available in the Creo Elements/Direct Manager Server database. By default, a command for such customized attachments is not available in Creo Elements/Direct Drawing Manager. To add the command to Creo Elements/Direct Drawing Manager, see Attaching documents to models in the Creo Elements/Direct Model Manager Customization guide.
To attach documents,
1. Click File > New > Custom Attachment. The Select class dialog box opens.
2. In the Class box, select the attachment document class.
3. Click OK. The New Custom Attachment dialog box opens.
4. Specify the required information in the New Custom Attachment dialog box.
5. Click OK to complete the operation.
* 
To attach local files, directories, or CAD documents from Creo Elements/Direct Modeling and save them in the Creo Elements/Direct Manager Server database, type the following in the user input line:
(modelmanager::mm-send-cmd (format nil "SAVE-CAD-DEPENDENT-DOC '~A' '~A' '~A' '~A' '~A'" docelid partelid name TYPE DIR))
Where,
docelid is the element ID of the CAD document (model or drawing).
partelid is the element ID of the masterdata to be linked to the database.
name is the default name for the attachment in the Save dialog box.
TYPE is the document class name.
DIR is the file or the directory to be attached.
Was this helpful?