Cadcorp SIS API Methods

CreateCircle Method

Description

Creates a circular Polygon item

Syntax

Visual Basic
Public Function CreateCircle( _
   ByVal x As Double, _
   ByVal y As Double, _
   ByVal z As Double, _
   ByVal r As Double _
) As Integer

Parameters

x
The x coordinate of the centre of the circle.
y
The y coordinate of the centre of the circle.
z
The z coordinate of the centre of the circle.
r
The radius of the circle in metres.

Remarks

If a group is open, graphics are added to the group, otherwise a new item is created.

Available: GEO MD MM ME OD OM SISpy

Group:

Example

sis.CreateCircle ( 0, 0, 0, 20)

Creates a circle with a radius of 20 metres.


Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).