# Synopsis

PDX_MSGT sifc_MapToGDX(long option, int ifcModel, int gdxModel, double tolerance)

# Purpose

Map IFC to GDX

# Description

The specified ifcModel will be processed and the supported IFC entities will be mapped to the specified gdxModel. There are basically 2 types of IFC entities currently supported. The first type is a faceted representation and the second type is an extruded area solid. Both types are mapped to GDX Mesh Body entities. IFC also has a boolean capability that is mapped to GDX as a User Attribute.

# Input

## option

### SIFC_MESH2TESS

Convert Mesh Body to Tessellated Shape if number of Mesh Faces is 1 and number of loops in every Mesh Facet is 1 and number of edge indices in every loop is 3

## ifcModel

IFC model to map from

## gdxModel

GDX model to map to

## tolerance

Tolerance in mm to use for tessellation

# Return

SIFC error code