|
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.
|