Esempio n. 1
0
        // Token: 0x06000154 RID: 340 RVA: 0x0000A4DC File Offset: 0x000086DC
        public double GetSteelVolumeInPart(RevitElement <Part> part)
        {
            double  num       = 0.0;
            ItSolid partSolid = part.getSolid(false, null, false, true).DeepClone();

            foreach (SteelGroupElement steelGroupElement in this.steelGroupElements)
            {
                num += steelGroupElement.GetSteelVolumeInPart(part, partSolid);
            }
            return(num);
        }
Esempio n. 2
0
        // Token: 0x060000F4 RID: 244 RVA: 0x00009554 File Offset: 0x00007754
        private bool hasSolidIntersection(RevitElement <Part> part, List <ItSolid> solids)
        {
            ItSolid partSolid = part.getSolid(true, Transform.Identity, false, false);

            return(solids.any((ItSolid solid) => solid.Solid.hasIntersection(partSolid.Solid)));
        }