Search K
Appearance
Appearance
The Create AutoCAD Pdf
node is used to generate PDF files from AutoCAD drawing files (.dwg
) using pre-configured or dynamically selected plot settings. This task leverages Autodesk TrueView in the background to execute the publish operation and outputs one or more PDF files.
To automate the conversion of DWG files into PDF format using specified plot settings. This is particularly useful in drawing release workflows, document control, and CAD output standardization.
Label | Type | Description |
---|---|---|
Local File Full Path | text | The full local file path of the DWG drawing to be converted to PDF. |
Advanced Plot Settings | object | (Optional) JSON object defining advanced control logic and plot settings. |
Name | Description |
---|---|
PublishedFiles | A list of generated PDF file paths. |
These are returned as part of the task’s data dictionary under the key PublishedFiles
.
File Validation: The task checks if the provided DWG file path exists. If the file is missing, the task fails.
Default Plot Settings: If no advanced settings are provided, a set of default options are used:
Advanced Settings (Optional):
If Advanced Plot Settings
is provided, it attempts to deserialize the object and extract:
rows
based on the control property.If the control property and matching row are found, those settings override the defaults.
PDF Generation: Uses the PublishWithTVCore
method (from the TrueView integration) to generate the PDF(s).
Cleanup: Removes Local File Full Path
from the task data upon success.
PublishedFiles
output.taskSuccess = true
, taskMessage = "Pdf Created"
, statusReturn = "Completed"
Condition | Message |
---|---|
Missing DWG file | Local File not found |
Invalid or unreadable advanced settings JSON | Unable to understand advanced plot settings |
PDF generation fails | Failed to Publish |
Exception occurs | Unhandled Error: <error> |
MinuteView.Publisher.TrueView.Publisher
) to perform publishing.AdvancedSettings
class, with controls
and rows
.Scenario: You have a CAD drawing C:\Drawings\Project1\layout.dwg
and want to automate its publishing to a PDF using custom plot configurations that vary by sheet size.
Create AutoCAD Pdf
node.C:\Drawings\Project1\layout.dwg
Advanced Plot Settings
with control logic keyed by sheet size.PublishedFiles
output and use it in subsequent nodes (e.g., upload to SharePoint or email).cad
, autocad
, pdf
, trueview
, dwg
, publish
, plot
, document-control