Skip to content

Add File Attachment ​

Attaches a file to a parent file in Autodesk Vault as either a standard attachment or a design visualization.

Purpose ​

Use this task to establish a file dependency relationship in Vault, such as linking a specification document or supporting file to a CAD model, or associating a DWF visualization with its source drawing. It covers both standard file-to-file attachments and the specific Vault visualization attachment type used for 3D model previews.

Inputs ​

FieldTypeRequiredDescription
Attachment TypeDropdownYesSelects the kind of attachment to create. Standard links an existing Vault file as a child. Visualization uploads a local DWF file and attaches it as a design visualization.
Parent File IdentifierTextYesThe Vault file ID or full Vault path to the parent file, e.g. $/Designs/Project001/DRAWINGS/parent.dwg.
Child File IdentifierTextNoThe Vault file ID or full Vault path to the child file to attach. Required when Attachment Type is Standard.
Local DWF File PathTextNoThe full local path to the DWF file to upload and attach as a visualization, e.g. C:\Temp\model.dwf. Required when Attachment Type is Visualization.

Visibility Rules ​

Child File Identifier is only shown when Attachment Type is set to Standard.

Local DWF File Path is only shown when Attachment Type is set to Visualization.

Operations ​

OperationDescription
StandardLocates both the parent and child files in Vault, downloads the parent, and creates a standard file attachment linking the child to the parent.
VisualizationUploads a local DWF file to the same Vault folder as the parent, classifies it as a design visualization, and attaches it to the parent file.

Outputs ​

NameDescription
ParentVaultFileThe Vault file object for the parent file. Available for both attachment types.
ChildVaultFileThe Vault file object for the attached child file. Available only when Attachment Type is Standard.
VisualizationFileThe Vault file object for the uploaded DWF visualization file. Available only when Attachment Type is Visualization.

Tentech