<< Click to Display Table of Contents > 

Client Control Interface Manual > Splitting > 2D Planar Splitting

2D Planar Splitting
Previous pageReturn to chapter overviewNext page

Global Splitting Checkboxes, see Splitting

oAvoid Unnecessary Splits in Overlap Area

oCog Vectors in Overlap Area

oDo Not Recalculate Split Lines

oTop Level Entities as Split Parts

oKeep Mark In Progress Active

oWorkpiece Movement

oUngroup Text

Split Order, see Splitting

Split Overlap, see Splitting

Start Position

Split Repetitions, see Splitting

Split Width / Height

 

Start Position
 

Set

Get

DLL Function

int CCI_Return = ScSetDoubleValue(int Value_Type, double Parameter)

double Parameter = ScGetDoubleValue(int Value_Type)

ASCII Function

int CCI_Return = ScCciSetDoubleValue(int Value_Type, double Parameter)

double Parameter = ScCciGetDoubleValue(int Value_Type)

Description

Set or get the start value for splitting.

Value_Type

Type: int

ID:

Location: ScComSAMLightClientCtrlValueTypes

scComSAMLightClientCtrlDoubleValueTypeStartSplittingPosX

56

Set or get a start value for the first axis (not necessarily X axis).

scComSAMLightClientCtrlDoubleValueTypeStartSplittingPosY

57

Set or get a start value for the second axis (not necessarily Y axis).

Parameter

Type: double

Unit: depends on constant

Set or get the required data.

CCI_Return

Type: int

CCI return number, see error list.

Notes

When using Angular Splitting, the start value can be set with StartSplittingPosX in °. When using 2D planar splitting, the start value of the first axis is set with StartSplittingPosX, the start value of the second axis is set with StartSplittingPosY.

C# Example: Set spitting start value X to 12.3:

 

int CCI_Return = cci.ScSetDoubleValue((int) ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlDoubleValueTypeStartSplittingPosX, 12.3);

C# Example: Get spitting start value Y:

 

double Start_Splitting_Position = cci.ScGetDoubleValue((int)ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlDoubleValueTypeStartSplittingPosY);

Table 289: Start Position

Split Width / Height
 

Set

Get

DLL Function

int CCI_Return = ScSetDoubleValue(int Value_Type, double 2D_Split_Width_Value)

double 2D_Split_Width_Value = ScGetDoubleValue(int Value_Type)

ASCII Function

int CCI_Return = ScCciSetDoubleValue(int Value_Type, double 2D_Split_Width_Value)

double 2D_Split_Width_Value = ScCciGetDoubleValue(int Value_Type)

Description

Set or get the split width or height for 2D planar splitting mode "Vector Marking - Fixed Split Size"

Value_Type

Type: int

ID:

Location: ScComSAMLightClientCtrlValueTypes

scComSAMLightClientCtrlDoubleValueType2DSplitWidthValue

113

Set or get the split width.

scComSAMLightClientCtrlDoubleValueType2DSplitHeightValue

114

Set or get the split height.

Value

Type: double

Unit: [mm]*

The corresponding value of the split width/height.

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 split width to 10.0:
 
int CCI_Return = cci.ScSetDoubleValue((int)ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlDoubleValueType2DSplitWidthValue, 10.0);

C# Example: Get the split height:
 
double Split_Height_Value = cci.ScGetDoubleValue((int)ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlDoubleValueType2DSplitHeightValue

Table 290: Split Width / Height