Skip to content

Update Inventor File

Description

The UpdateInventorFile node updates parameters and iProperties within a local Autodesk Inventor document (.ipt, .iam, .idw, or .ipn).
It opens the file in Inventor Server, applies parameter and property changes, and saves the updated document.

This node is commonly used to:

  • Modify custom iProperties (e.g., Part Number, Description)
  • Update model or drawing parameters before exports
  • Automate part configuration workflows

How It Works

  1. Validates required input fields.
  2. Opens the target Inventor file using the embedded Inventor Server instance.
  3. Applies updates to:
    • Parameters — e.g., dimensional or equation-driven variables.
    • Properties — iProperties such as Part Number, Title, or custom fields.
  4. Saves and closes the Inventor document.
  5. Returns the updated key-value pairs in the output data.

Input Fields

FieldTypeDescriptionRequired
Local File Full PathFile PathFull path to the Inventor file (.ipt, .iam, .idw, .ipn) on the local machine or working directory.
ParametersDictionary / JSONKey-value pairs of Inventor parameters to update. Values can be numeric or string-based.
PropertiesDictionary / JSONKey-value pairs of iProperties to update. Supports both built-in and custom iProperties.

Example Input (JSON)

json
{
  "Local File Full Path": "C:\\Projects\\Assembly1.iam",
  "Parameters": {
    "LENGTH": "150.0",
    "WIDTH": "75.0"
  },
  "Properties": {
    "Part Number": "ASM-150-75",
    "Description": "Updated configuration - 150mm x 75mm"
  }
}

Output Data

Output VariableTypeDescription
UpdatedParametersDictionaryList of all parameters successfully updated in the Inventor model.
UpdatedPropertiesDictionaryList of all iProperties successfully updated.
taskMessageStringSuccess or failure message.
statusReturnStringCompleted if successful, Fail on error.

Example Output

json
{
  "UpdatedParameters": {
    "LENGTH": "150.0",
    "WIDTH": "75.0"
  },
  "UpdatedProperties": {
    "Part Number": "ASM-150-75",
    "Description": "Updated configuration - 150mm x 75mm"
  },
  "taskMessage": "Inventor file update operation completed successfully",
  "statusReturn": "Completed"
}

Supported File Types

ExtensionDescription
.iptPart Document
.iamAssembly Document
.idwDrawing Document
.ipnPresentation Document

Task Flow Summary

StepAction
1Validates input parameters.
2Opens the specified Inventor document using Inventor Server.
3Updates all provided parameters and iProperties.
4Saves and closes the file.
5Returns the modified values to the workflow.

Status Messages

StatusDescription
CompletedFile updated successfully.
FailFile not found or Inventor operation failed.

Error Handling

Common error causes:

  • The Inventor file path is invalid or missing.
  • The specified parameter or property name does not exist.
  • The Inventor Server service is unavailable.
  • The file is locked or in use by another process.

Example Workflow Integration

mermaid
graph LR
    A[Get Vault File Info] --> B[Download File]
    B --> C[UpdateInventorFile (Apply Parameters & Properties)]
    C --> D[ExportInventorFile (Generate PDF or STEP)]
    D --> E[Upload to Vault]

Notes

  • Parameters are updated using Inventor’s User Parameters collection.
  • Properties are updated via the Inventor iProperty utility interface (IPropertyUtils).
  • The node automatically handles both JSON string and dictionary input formats.
  • The document is always saved and closed after the update operation.
  • This node requires Inventor Server to be installed and accessible.

Category: CAD → Inventor Task Name: UpdateInventorFile

Tentech 2024