ShapeAPI.createCircleAtPoint

 

long createCircleAtPoint(string ck, string fc, double r, string attrName, string attrVal)

This methods creates a new circle feature of radius r, with CARIS Key and Feature Code given by ck and fc, respectively.  The circle is centered at the location of the point feature given by attrName and attrValue (See General Search Criteria).   If the search criteria are not unique, i.e. if more than one point is found, the first one found will determine the center of the circle.

The circle feature is created with the current defaults for line weight, line style, fill style, and color.  These defaults can be modified by the ShapeAPI methods:

respectively, by calling one or more of them prior to createCircleAtPoint.

The method returns 0 upon success, and returns error codes for the following conditions: