Search K
Appearance
Appearance
The Create Inventor dwf
node is used to generate a .dwf
file from a local Autodesk Inventor document. This task automates the opening, exporting, and closing of the file using the Inventor API and returns the path to the newly created DWF file.
This node opens a specified .ipt
or .iam
file from the local file system, exports it to .dwf
format, and stores the resulting file in the same directory. It also provides the full path to the generated DWF file as an output variable.
This task is typically used in workflows that involve CAD document handling, publishing, or pre-checking files for downstream engineering or document management purposes.
Label | Input Type | Description | Required | Visible When |
---|---|---|---|---|
Local File Full Path | text | Full file path to the local Inventor document (e.g., C:\Files\part.ipt ). | ✅ Yes | Always |
Name | Description |
---|---|
CreatedDwfFile | Full file path to the generated .dwf file |
Validation
Validates that Local File Full Path
is provided and that the file exists at the specified location.
File Handling
.dwf
file in the same directory with the same name.invService.OpenDocument()
method.DWF Export
.dwf
format using invService.ExportDwf()
.Post-Export Checks
.dwf
file exists.CreatedDwfFile
path to the data
dictionary.Cleanup
.ipt
or .iam
file must be provided..dwf
file must be successfully created and saved.CreatedDwfFile
must be populated.Condition | Message |
---|---|
Input file does not exist | Local File not found |
File could not be opened in Inventor | Failed to open document |
Export fails | Failed to export DWF |
DWF file is not found after export | DWF not found |
Any other unexpected error | (AIAgent) - AI Service Failed |
To convert an Inventor file C:\Designs\housing.iam
to a .dwf
:
Local File Full Path
to C:\Designs\housing.iam
.CreatedDwfFile
will be set to C:\Designs\housing.dwf
.invService
must be correctly initialized in the hosting environment..dwf
files with the same name will be overwritten.