leConvertShapeToPolygon
leConvertShapeToPolygon(d_shapeId[x_sides] ) =>d_polygonId/nil
Description
Converts shape d_shapeId to an equivalent polygon. If it is a conic, the polygon has the specified number of sides.
Arguments
|
Specifies the number of sides to use when converting conic shapes. Default Value: |
Value Returned
Example
Converts the conic shape shape2 to a polygon with 10 sides and returns the object ID for the polygon.
leConvertShapeToPolygon( shape2 10 )
Interactive Function
Enter this function with only the window ID argument; the system prompts you to point to the shape to convert. If you do not specify w_windowId, the current window is used.
leHiConvertShapeToPolygon( [w_windowId] ) =>d_polygonId/nil
Return to top