Example #1
0
        /// <summary>
        /// Clear all caches contained in this manager.
        /// </summary>
        public static void Clear()
        {
            if (m_AllocatedGeometryObjectCache != null)
            {
                m_AllocatedGeometryObjectCache.DisposeCache();
            }

            m_AllocatedGeometryObjectCache = null;
            m_AssemblyInstanceCache        = null;
            m_ClassificationCache          = null;
            m_CurveAnnotationCache         = null;
            m_DummyHostCache              = null;
            m_ElementToHandleCache        = null;
            m_ExportOptionsCache          = null;
            m_HandleToElementCache        = null;
            m_HostPartsCache              = null;
            m_LevelInfoCache              = null;
            m_MaterialLayerRelationsCache = null;
            m_MaterialLayerSetCache       = null;
            m_MaterialHandleCache         = null;
            m_MaterialRelationsCache      = null;
            m_MEPCache                                 = null;
            m_RailingCache                             = null;
            m_RailingSubElementCache                   = null;
            m_ParameterCache                           = null;
            m_PartExportedCache                        = null;
            m_PresentationStyleCache                   = null;
            m_SpaceBoundaryCache                       = null;
            m_SpaceOccupantInfoCache                   = null;
            m_SpatialElementHandleCache                = null;
            m_TypeObjectsCache                         = null;
            m_TypeRelationsCache                       = null;
            m_WallConnectionDataCache                  = null;
            m_UnitsCache                               = null;
            m_ZoneInfoCache                            = null;
            m_TypePropertyInfoCache                    = null;
            m_DoublePropertyInfoCache                  = null;
            m_BooleanPropertyInfoCache                 = null;
            m_IntegerPropertyInfoCache                 = null;
            m_StringPropertyInfoCache                  = null;
            m_HandleTypeCache                          = null;
            m_HandleIsSubTypeOfCache                   = null;
            m_GroupElementGeometryCache                = null;
            m_PropertySetsForTypeCache                 = null;
            m_ConditionalPropertySetsForTypeCache      = null;
            m_MaterialIdToStyleHandleCache             = null;
            m_DefaultCartesianTransformationOperator3D = null;
            m_StairRampContainerInfoCache              = null;
        }
Example #2
0
        /// <summary>
        /// Clear all caches contained in this manager.
        /// </summary>
        public static void Clear()
        {
            if (m_AllocatedGeometryObjectCache != null)
                m_AllocatedGeometryObjectCache.DisposeCache();

            m_AllocatedGeometryObjectCache = null;
            m_AssemblyInstanceCache = null;
            m_ClassificationCache = null;
            m_CurveAnnotationCache = null;
            m_DummyHostCache = null;
            m_ElementToHandleCache = null;
            m_ExportOptionsCache = null;
            m_HandleToElementCache = null;
            m_HostPartsCache = null;
            m_LevelInfoCache = null;
            m_MaterialLayerRelationsCache = null;
            m_MaterialLayerSetCache = null;
            m_MaterialHandleCache = null;
            m_MaterialRelationsCache = null;
            m_MEPCache = null;
            m_RailingCache = null;
            m_RailingSubElementCache = null;
            m_ParameterCache = null;
            m_PartExportedCache = null;
            m_PresentationStyleCache = null;
            m_SpaceBoundaryCache = null;
            m_SpaceOccupantInfoCache = null;
            m_SpatialElementHandleCache = null;
            m_TypeObjectsCache = null;
            m_TypeRelationsCache = null;
            m_WallConnectionDataCache = null;
            m_UnitsCache = null;
            m_ZoneInfoCache = null;
            m_TypePropertyInfoCache = null;
            m_DoublePropertyInfoCache = null;
            m_BooleanPropertyInfoCache = null;
            m_IntegerPropertyInfoCache = null;
            m_StringPropertyInfoCache = null;
            m_HandleTypeCache = null;
            m_HandleIsSubTypeOfCache = null;
            m_GroupElementGeometryCache = null;
            m_PropertySetsForTypeCache = null;
            m_ConditionalPropertySetsForTypeCache = null;
            m_MaterialIdToStyleHandleCache = null;
            m_DefaultCartesianTransformationOperator3D = null;
            m_StairRampContainerInfoCache = null;
        }