Actions2
Import From CSV
AI-generatedOverview
This node operation imports CSV data into an IFC (Industry Foundation Classes) file. It is useful for updating or enriching IFC files with data from CSV files, commonly used in building and construction data workflows. For example, a user can select an existing IFC file and a CSV file containing updated attributes or new data, then import this CSV data into the IFC file, optionally specifying an output filename to save the updated IFC file separately.
Use Case Examples
- Importing a CSV file with updated building element properties into an IFC model to keep the BIM data current.
- Merging external data from a CSV export into an IFC file for enhanced documentation or analysis.
Properties
| Name | Meaning |
|---|---|
| IFC Filename Name or ID | Select the IFC file to import into. Can be chosen from a list or specified by ID using an expression. |
| CSV Filename Name or ID | Select the CSV file to import. Can be chosen from a list or specified by ID using an expression. |
| Output Filename | The name of the output IFC file. If left empty, the original IFC file will be overwritten. |
| Wait for Completion | Whether to wait for the import job to complete before continuing the workflow. |
| Polling Interval (Seconds) | How often to check the job status in seconds, applicable if waiting for completion. |
| Timeout (Seconds) | Maximum time to wait for job completion in seconds, applicable if waiting for completion. |
Output
JSON
job_id- The identifier of the import job, useful for tracking the job status.status- The current status of the import job.message- Additional information or messages related to the import job.
Dependencies
- An API key credential for the IFC pipeline API is required to authenticate requests.
Troubleshooting
- Common issues include invalid file IDs for IFC or CSV files, which will cause the API request to fail. Verify that the selected files exist and are accessible.
- Timeout errors may occur if the job takes longer than the specified timeout. Increase the timeout or check the job status manually if needed.
- If the job status polling fails, ensure the polling interval is reasonable and the API endpoint is reachable.