예제 #1
0
        public static Surface ExtractSurface(Autodesk.Revit.DB.RuledFace face, IEnumerable<PolyCurve> edgeLoops)
        {
            var c0 = face.get_Curve(0).ToProtoType(false);
            var c1 = face.get_Curve(1).ToProtoType(false);

            return Surface.ByLoft(new[] {c0, c1});
        }