BIM X – SmartViews Builder
AI-generatedSummary
Generate a BIMcollab SmartViews (.bcsv) file from rule validation results to visualize GUID sets per rule with optional colors and metadata.
Inputs
- Source (Rule Results) — Selects where to read rule validation data from input JSON: auto-detect, or explicitly from 'rules' or 'perRule' arrays.
- Set Title — String used as the
of the SMARTVIEWSET in the output file. - Creator (email) — Email address set as creator and modifier metadata for each SmartView.
- Include Timestamp — Boolean to include the current ISO timestamp in SmartViewSet and SmartView metadata.
- Respect Rule Colors (if provided) — Boolean indicating whether to use colors specified by rules or fallback to the default color.
- Default Color — RGB color (0–255 each) to use when rule colors are not provided or ignored.
- File Name — Filename for the created .bcsv binary file output.
Output shape
A single binary output containing the generated BIMcollab SmartViews .bcsv file, plus a JSON summary with set title, number of views, and total GUIDs.
Input JSON must contain either a 'rules' array or a 'perRule' array based on the source selection. The operation throws an error if no GUIDs are found or expected arrays are missing. The output file is text/xml content with MIME type 'text/xml' and file extension .bcsv.
Examples
Example 1: Prepare SmartViews file for BIMcollab from rules array
Source set to 'rules', title customized, default color red, include timestamp enabled, output file named 'smartview.bcsv'.