<< Click to Display Table of Contents > 

Client Control Interface Manual > Job > Entity Objects > Geometry Objects > Rectangle

Rectangle
Previous pageReturn to chapter overviewNext page

Edge Parameters
 

Set

Get

DLL Function

int CCI_Return = ScSetEntityDoubleData(string Entity_Name, int Data_ID, double Edge)

int CCI_Return = ScGetEntityDoubleData(string Entity_Name, int Data_ID, ref double Edge)

ASCII Function

int CCI_Return = ScCciSetEntityDoubleData(string Entity_Name, int Data_ID, double Edge)

int Edge = ScCciGetEntityDoubleData(string Entity_Name, int Data_ID)

Description

Adjust Edge Radius and the Edge Segment Count of a rectangle entity.

Entity_Name

Type: string

Unit: none

Enter the name of the entity to be changed.

Data_ID

Type: int

ID:

Location: ScComSAMLightClientCtrlFlags

scComSAMLightClientCtrlDoubleDataIdRectangle2DEdgeRadius

106

Edge Radius.

scComSAMLightClientCtrlDoubleDataIdRectangle2DEdgeRadiusSegmentCount

107

Edge Segment Count.

Edge

Type: double

Unit: depends on constant

The corresponding value.

CCI_Return

Type: int

CCI return number, see error list.

Notes

The default unit is mm, but the user can select a different unit.

C# Example: Set the Edge Radius to 10:

 

int CCI_Return = cci.ScSetEntityDoubleData("", (int)ScComSAMLightClientCtrlFlags.scComSAMLightClientCtrlDoubleDataIdRectangle2DEdgeRadius, 10);

C# Example: Get the value of Edge Segments:
 

double SegmentCount = 0;

int CCI_Return = cci.ScGetEntityDoubleData("", (int)ScComSAMLightClientCtrlFlags.scComSAMLightClientCtrlDoubleDataIdRectangle2DEdgeRadiusSegmentCount, ref SegmentCount);

Table 130: Edge Parameters