Ejemplo n.º 1
0
            public static int CreateUnderlyingPolylineFromPolyline(Polyline poly, double size)
            {
                List <int> ptsTag   = new List <int>();
                PointCloud ptsCloud = new PointCloud();

                int[] crvTags = CreateUnderlyingLinesFromPolyline(poly, size, ref ptsTag, ref ptsCloud);
                int   wireTag = IBuilder.AddCurveLoop(crvTags);

                return(wireTag);
            }
Ejemplo n.º 2
0
            public static int CreateUnderlyingPolylineFromCurveDividedByCount(Curve curve, double size, int count)
            {
                List <int> ptsTag   = new List <int>();
                PointCloud ptsCloud = new PointCloud();

                int[] crvTags = CreateUnderlyingLinesFromCurveDividedByCount(curve, size, count);
                int   wireTag = IBuilder.AddCurveLoop(crvTags);

                return(wireTag);
            }
Ejemplo n.º 3
0
            public static int CreateUnderlyingCurveLoopFromCurve(Curve crv, double size, bool synchronize = false)
            {
                int[] crvTags = CreateUnderlyingSplinesFromCurve(crv, size);
                int   wireTag = IBuilder.AddCurveLoop(crvTags);

                if (synchronize)
                {
                    IBuilder.Synchronize();
                }
                return(wireTag);
            }