StreamBIM icon

StreamBIM

StreamBIM API: projects, IFC files, IFC search, converter jobs, sync, users, workflows, topics, checklists, attachments, documents

IFC File → Create

AI-generated

Summary

Create a new IFC file record in a specified StreamBIM project and building, linking it to an existing document, with options to define model layers and deletion status.

Inputs

  • Project Name or ID — Select or specify the StreamBIM project by name or ID for associating the IFC file. Loaded dynamically via the connected account's region.
  • Building Name or ID (required) — Select or specify the building within the project where the IFC file belongs.
  • Use Raw JSON Body — Enable to provide the full JSON:API payload manually instead of using the typed field inputs.
  • Document Name or ID (required) — Specify the StreamBIM document to link the IFC file to, chosen from document hints.
  • Layer — Set the model layer assignment for the IFC file, allowing multiple sublayers separated by ~ (default 'M').
  • Marked for Deletion — Mark the IFC file record as flagged for deletion (default is false).
  • Body — If 'Use Raw JSON Body' is true, provide the full JSON:API formatted request body for IFC file creation.

Output shape

a single IFC file record as returned by the StreamBIM API after creation

The output reflects the created IFC file resource including its attributes and relationships. Use expressions to set IDs if needed. If using the raw JSON body option, ensure the body conforms to StreamBIM's JSON:API specification.

Examples

Example 1: Creating an IFC file linked to a specific building and document with layer 'M~E' and default deletion flag

Set Project Name or ID, Building ID, Document ID, Layer as 'M~E', and leave 'Marked for Deletion' as false. 'Use Raw JSON Body' should be false or omitted.

Links

Discussion