Syntax @ConvertToArc() @ConvertToArc(, , , ) @ConvertToArc(, , , , , ,, ,) @ConvertToArc(ARC3POINTS) Arguments The name of the attribute set to the radius of the arc along the primary axis. Range: String The name of the attribute set to the radius of the arc along the secondary axis. Only circular arcs are generated; therefore, the primary and secondary radii are always the same. Range: String The name of the attribute set to the angle of the arc, as measured counterclockwise from horizontal. Range: String The name of the attribute set to the sweep, or duration, of the arc. This is always a positive value and is counterclockwise from the starting angle. Range: String The following arguments are ONLY required for the second alternative of the function. CCW or CW, for counterclockwise or clockwise direction. Range: String x coordinate value for the start point of the circular curve. Range: Real value y coordinate value for the start point of the circular curve Range: Real value x coordinate value for the end point of the circular curve Range: Real value y coordinate value for the end point of the circular curve Range: Real value The following argument is applicable ONLY to the @ConvertToArc(ARC3POINTS) alternative. It builds an arc definition where the 3 coincident points on the circular arc specified in the coordinates of a linear feature. ARC3POINTS A constant value. Range: String Description If the function is used with no parameters: This function gives us arc estimations of lines, other arcs, paths, polygons and ellipses. For lines, it takes start, middle and end points and draws arc around them, however it rejects lines with less than 3 points. For arcs, it just redraws them, since they already have good estimation. For path, it casts them into lines, and deals with lines accordingly. For polygons and ellipses, it casts them as curves, and deals with them as if they were lines, arcs or paths. It rejects all other feature types. If the function is used with 4 parameters: This function calculates the center point, radius, start angle, and sweep angle of a circular arc that starts at the first point of the line passed in, ends at the last, and passes through the middle point where middle is the (n/2)th point in the line, not geometrically the middle point. It sets attributes on the feature to hold the radius, start angle, and sweep angle, and sets the geometry of the feature to be a single point that is the center point of the circle. If this function is called on a feature with less than 3 points, it will abort the translation. If this function is called on a feature with exactly 3 points, the arc will be guaranteed to pass through all of them. If it is called on a feature with more than 3 points, the arc will approximate the curve and will be guaranteed to pass through the first, last, and middle point only. If the function is used with 9 parameters: Alternatively, the radius, start angle, and sweep angle can be calculated from a circular arc defined by the circle's center point, the arc's start point and end point, and finally the direction of the arc, either counterclockwise or clockwise from start to end. The center point of the circle must be specified as the first coordinate of the feature. If the function is used with 1 parameter: @ConvertToArc(ARC3POINTS) must be applied to a linear feature where the coordinates of the line correspond to the 3 control points coincident to the circular arc. ARC3POINTS is a constant value. The number of points in the line must be at least 3, if the number of points in the line is greater than 3, then the number of points must be odd, specifically they must be, (2*N +1), where N is the number of consecutive arcs formed. Each consecutive arc share a common control point, If more than one arc is formed then the feature will be converted into a path with consecutive arc segments.