Skip to main content

IFCViewer

Nodes for 3D visualization of IFC models.

ViewIFCModel

Opens a 3D viewer for the loaded IFC Model. Displays all models in a federated project.

Inputs:

ParameterTypeDescription
ifcModelIFCModelThe wrapper containing the IFC Store(s)

Output:

TypeDescription
stringStatus message

ViewWithHighlight

Opens the viewer and highlights specific elements by their Global Unique IDs (GUIDs). Scans all loaded models to find the matching elements.

Inputs:

ParameterTypeDescription
ifcModelIFCModelThe IFC Model wrapper
globalIdsList of stringList of GlobalIds to highlight
colorstringHighlight color (e.g., "Red", "Blue", "#FF0000")

Output:

TypeDescription
stringStatus message

ViewWithColorGroups

Opens the viewer and highlights multiple groups of elements with different colors.

Inputs:

ParameterTypeDescription
ifcModelIFCModelThe IFC Model wrapper
colorsList of stringList of color strings (e.g., "Red", "Green", "#FF0000")
globalIdGroupsNested List of stringNested list of GlobalIds where each sublist corresponds to a color

Output:

TypeDescription
stringStatus message

Example:

To color walls red, doors blue, and windows green:

  • colors: ["Red", "Blue", "Green"]
  • globalIdGroups: [[wall1, wall2], [door1, door2], [window1, window2]]

ViewIsolated

Opens the viewer showing only the specified elements (isolation mode).

Inputs:

ParameterTypeDescription
ifcModelIFCModelThe IFC Model wrapper
globalIdsList of stringList of GlobalIds to isolate and display

Output:

TypeDescription
stringStatus message

Supported Color Formats

The viewer accepts colors in these formats:

FormatExamples
Named colors"Red", "Blue", "Green", "Yellow", "Orange", "Purple", "Cyan", "Magenta"
Hex colors"#FF0000", "#00FF00", "#0000FF"
RGB format"rgb(255,0,0)", "rgb(0,255,0)"