private void GetUserIFCExportConfigurationDeprecated()
        {
            //Loop on all possibilities here
            IFCExportConfigurationDeprecated config = new IFCExportConfigurationDeprecated(false, false, true);

            config.Name = "<bimsync Config>";
            _Values.Add(new IFCExportConfigurationCustom(IFCLibrary.Deprecated, config));

            config = new IFCExportConfigurationDeprecated(false, false, false);
            _Values.Add(new IFCExportConfigurationCustom(IFCLibrary.Deprecated, config));

            config = new IFCExportConfigurationDeprecated(false, false, true);
            _Values.Add(new IFCExportConfigurationCustom(IFCLibrary.Deprecated, config));

            config = new IFCExportConfigurationDeprecated(false, true, true);
            _Values.Add(new IFCExportConfigurationCustom(IFCLibrary.Deprecated, config));

            config = new IFCExportConfigurationDeprecated(false, true, false);
            _Values.Add(new IFCExportConfigurationCustom(IFCLibrary.Deprecated, config));

            config = new IFCExportConfigurationDeprecated(true, false, true);
            _Values.Add(new IFCExportConfigurationCustom(IFCLibrary.Deprecated, config));

            config = new IFCExportConfigurationDeprecated(true, false, false);
            _Values.Add(new IFCExportConfigurationCustom(IFCLibrary.Deprecated, config));

            config = new IFCExportConfigurationDeprecated(true, true, true);
            _Values.Add(new IFCExportConfigurationCustom(IFCLibrary.Deprecated, config));

            config = new IFCExportConfigurationDeprecated(true, true, false);
            _Values.Add(new IFCExportConfigurationCustom(IFCLibrary.Deprecated, config));
        }
        private void IFCExportConfigurationCustomDeprecated(object ifcExportConfiguration)
        {
            IFCExportConfigurationDeprecated config = (IFCExportConfigurationDeprecated)ifcExportConfiguration;

            _IFCExportConfiguration = config;
            _IFCVersion             = config.IFCVersion;
            _Name                  = config.Name;
            _ActiveViewId          = config.ActiveViewId;
            _UseActiveViewGeometry = config.CurrentViewOnly;
        }
        private void UpdateOptionDeprecated(IFCExportOptions IFCOptions, ElementId activeViewId)
        {
            IFCExportConfigurationDeprecated config = _IFCExportConfiguration as IFCExportConfigurationDeprecated;

            IFCOptions.ExportBaseQuantities = config.ExportBaseQuantities;
            IFCOptions.FileVersion          = config.IFCVersion;
            if (config.CurrentViewOnly)
            {
                IFCOptions.FilterViewId = activeViewId;
            }
            IFCOptions.SpaceBoundaryLevel     = 1;
            IFCOptions.WallAndColumnSplitting = config.SplitWall;
        }