<< Click to Display Table of Contents > Ellipse |
☒ Set ☒ Get |
|||
---|---|---|---|
DLL Function |
int CCI_Return = ScSetEntityDoubleData(string Entity_Name, int Data_ID, double Parameter) int CCI_Return = ScGetEntityDoubleData(string Entity_Name, int Data_ID, ref double Parameter) |
||
ASCII Function |
int CCI_Return = ScCciSetEntityDoubleData(string Entity_Name, int Data_ID, double Parameter) int Parameter = ScCciGetEntityDoubleData(string Entity_Name, int Data_ID) |
||
Description |
Adjust inner and outer radius as well a the rise parameter of the spiral. |
||
Entity_Name |
Type: string |
Unit: none |
|
Enter the name of the entity to be changed. |
|||
Data_ID |
Type: int |
ID: |
|
Location: ScComSAMLightClientCtrlFlags |
|||
scComSAMLightClientCtrlDoubleDataIdEllipse2DRadiusX |
77 |
||
The ellipse radius value in x direction. [mm]* |
|||
scComSAMLightClientCtrlDoubleDataIdEllipse2DRadiusY |
78 |
||
The ellipse radius value in y direction. [mm]* |
|||
scComSAMLightClientCtrlDoubleDataIdEllipse2DCenterX |
79 |
||
The ellipse center on the x axis. [mm]* |
|||
scComSAMLightClientCtrlDoubleDataIdEllipse2DCenterY |
80 |
||
The ellipse center on the y axis. [mm]* |
|||
ScComSAMLightClientCtrlDoubleDataIdEllipse2DSegmentCount |
98 |
||
Adjust the amount of segments of the ellipse. |
|||
scComSAMLightClientCtrlDoubleDataIdEllipse2DStartAngle |
108 |
||
Adjust the Ellipse Start Angle.[deg] |
|||
scComSAMLightClientCtrlDoubleDataIdEllipse2DDeltaAngle |
109 |
||
Adjust the Ellipse Delta Angle. [deg] |
|||
Parameter |
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 center point to (0,0):
string Entity_Name = "Ellipse"; double center_X = 0; double center_Y = 0; cci.ScSetEntityDoubleData(Entity_Name, (int)ScComSAMLightClientCtrlFlags.scComSAMLightClientCtrlDoubleDataIdEllipse2DCenterX, center_X); cci.ScSetEntityDoubleData(Entity_Name, (int)ScComSAMLightClientCtrlFlags.scComSAMLightClientCtrlDoubleDataIdEllipse2DCenterY, center_Y); |
|||
C# Example: Get the value of the center point: string Entity_Name = "Ellipse"; double center_Y = 0; cci.ScGetEntityDoubleData(Entity_Name, (int)ScComSAMLightClientCtrlFlags.scComSAMLightClientCtrlDoubleDataIdEllipse2DCenterX, ref center_X); cci.ScGetEntityDoubleData(Entity_Name, (int)ScComSAMLightClientCtrlFlags.scComSAMLightClientCtrlDoubleDataIdEllipse2DCenterX, ref center_Y); |
Table 127: Ellipse Parameters