Beispiel #1
0
        public void DisplayAlongLine(AcGe.Point3d directionPoint, double offset, double step, int quantity)
        {
            AcDb.Ray ray = new AcDb.Ray
            {
                BasePoint = this.BasePointArrays,
                UnitDir   = this.BasePointArrays.GetVectorTo(directionPoint)
            };
            double length = offset;

            for (int i = 0; i < quantity; i++)
            {
                ServiceBlockElements.InsertBlock(this.NameBlock, ray.GetPointAtDist(length), this.ScaleBlock, this.RotationBlock);
                length += step;
            }
        }