API_​CalcRulesPrefs

The representation of the Calculation Rules on the Preferences / Calculation Units & Rules tab page.

    typedef struct {
        double                 wallHoleMinVolume;
        double                 wallHoleMinSurface;
        double                 wallHoleMinLength;
        double                 ceilHoleMinVolume;
        double                 ceilHoleMinSurface;
        double                 roofHoleMinVolume;
        double                 roofHoleMinSurface;
        double                 shellHoleMinVolume;
        double                 shellHoleMinSurface;
        double                 beamHoleMinVolume;
        bool                   wallHoleMinVolumeFlag;
        bool                   wallHoleMinSurfaceFlag;
        bool                   wallHoleMinLengthFlag;
        bool                   ceilHoleMinVolumeFlag;
        bool                   ceilHoleMinSurfaceFlag;
        bool                   roofHoleMinVolumeFlag;
        bool                   roofHoleMinSurfaceFlag;
        bool                   shellHoleMinVolumeFlag;
        bool                   shellHoleMinSurfaceFlag;
        bool                   beamHoleMinVolumeFlag;
        short                  filler_0;
        Int32                  nWallInsulationFills;
        Int32                  nWallAirFills;
        Int32                  nRoofInsulationFills;
        Int32                  nShellInsulationFills;
        API_AttributeIndex**   wallInsulationFills;
        API_AttributeIndex**   wallAirFills;
        API_AttributeIndex**   roofInsulationFills;
        API_AttributeIndex**   shellInsulationFills;
        Int32      filler_1;
    } API_CalcRulesPrefs;

 

Members

wallHoleMinVolume
Minimum opening volume that reduces the volume of the wall.
wallHoleMinSurface
Minimum opening surface that reduces the surfaces of the wall.
wallHoleMinLength
Minimum opening width that reduces the lengths of the wall.
ceilHoleMinVolume
Minimum hole volume that reduces the volume of the ceil.
ceilHoleMinSurface
Minimum hole surface that reduces the surfaces of the ceil.
roofHoleMinVolume
Minimum hole volume that reduces the volume of the roof.
roofHoleMinSurface
Minimum hole surface that reduces the surfaces of the roof.
shellHoleMinVolume 15
Minimum hole volume that reduces the volume of the shell.
shellHoleMinSurface 15
Minimum hole surface that reduces the surface of the shell.
beamHoleMinVolume
Minimum hole volume that reduces the volume of the beam.
wallHoleMinVolumeFlag
Make reduction in case of the wall volume.
wallHoleMinSurfaceFlag
Make reduction in case of wall surfaces.
wallHoleMinLengthFlag
Make reduction in case of wall lengths.
ceilHoleMinVolumeFlag
Make reduction in case of slab volume.
ceilHoleMinSurfaceFlag
Make reduction in case of slab surfaces.
roofHoleMinVolumeFlag
Make reduction in case of roof volume.
roofHoleMinSurfaceFlag
Make reduction in case of roof surfaces.
shellHoleMinVolumeFlag 15
Reduce shell volume?
shellHoleMinSurfaceFlag 15
Reduce shell surface?
beamHoleMinVolumeFlag
Make reduction in case of beam volume.
nWallInsulationFills
Number of the wall insulation fill indices stored in wallInsulationFills handle.
nWallAirFills
Number of the wall air fill indices stored in wallAirFills handle.
nRoofInsulationFills
Number of the roof insulation fill indices stored in roofInsulationFills handle.
nShellInsulationFills 15
Number of the shell insulation fill indices stored in shellInsulationFills handle.
wallInsulationFills
Wall insulation fill indices.
wallAirFills
Wall air fill indices.
roofInsulationFills
Roof insulation fill indices.
shellInsulationFills 15
Shell insulation fill indexes.

 

Remarks

This structure is used by the APIEnv_GetPreferencesID function to get the settings of the Calculation Rules on the Preferences / Calculation Units & Rules preferences page.

Do not forget to dispose the wallInsulationFills, wallAirFills, roofInsulationFills handles if they are not needed any more.

 

Requirements

Version: API 13.0 or later
Header: APIdefs_Environment.h

 

See Also

API_AttributeIndex, API_WallQuantity, API_SlabQuantity, API_RoofQuantity, API_BeamQuantity, API Types