Exemplo n.º 1
0
        Stream(ArrayList data, HostedSweepType hostSweepType)
        {
            data.Add(new Snoop.Data.ClassSeparator(typeof(HostedSweepType)));

            // No data at this level yet!

            FasciaType fasciaType = hostSweepType as FasciaType;

            if (fasciaType != null)
            {
                Stream(data, fasciaType);
                return;
            }

            Autodesk.Revit.DB.Architecture.GutterType gutterType = hostSweepType as Autodesk.Revit.DB.Architecture.GutterType;
            if (gutterType != null)
            {
                Stream(data, gutterType);
                return;
            }

            SlabEdgeType slabEdgeType = hostSweepType as SlabEdgeType;

            if (slabEdgeType != null)
            {
                Stream(data, slabEdgeType);
                return;
            }
        }
Exemplo n.º 2
0
        Stream(ArrayList data, Autodesk.Revit.DB.Architecture.GutterType gutterType)
        {
            data.Add(new Snoop.Data.ClassSeparator(typeof(Autodesk.Revit.DB.Architecture.GutterType)));

            // No data at this level yet!
        }