<< Click to Display Table of Contents > 

Client Control Interface Manual > Splitting > 1D MOTF Splitting

1D MOTF Splitting
Previous pageReturn to chapter overviewNext page

1D MOTF Splitting Checkboxes

1D MOTF Splitting Double Values

Splitting Submode

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

oUngroup Text

Group Width, see Splitting → 1D Planar Splitting

Split Order, see Splitting

Split Overlap, see Splitting

Split Repetitions, see Splitting

 

1D MOTF Splitting Checkboxes
 

Set

Get

DLL Function

int CCI_Return = ScSetLongValue(int Value_Type, int Checkbox)

int Checkbox = ScGetLongValue(int Value_Type)

ASCII Function

int CCI_Return = ScCciSetLongValue(int Value_Type, int Checkbox)

int Checkbox = ScCciGetLongValue(int Value_Type)

Description

Set or get the state of various 1D MOTF Splitting checkboxes.

Value_Type

Type: int

ID:

Location: ScComSAMLightClientCtrlValueTypes

scComSAMLightClientCtrlLongValueType1DMotfCenter

111

Checkbox Center resulting splits. Not available in Bitmap Marking.

scComSAMLightClientCtrlLongValueTypeSplitEntityBasedOnlyTopLevelSortAccordingToStartBorder

131

Checkbox Sort according to start border. OnlyTopLevel has to be enabled before.

Only available in vector marking - entity based splitting.  

scComSAMLightClientCtrlLongValueTypeSplitMotfEndlessRepeat

134

Checkbox Endless repeat.

Checkbox

Type: int

Unit: none

0: Disable Checkbox.

1: Enable Checkbox.

CCI_Return

Type: int

CCI return number, see error list.

Notes

The availability depends on the 1D MOTF Splitting Submode.

C# Example: Enable endless repeat:

 

int CCI_Return = cci.ScSetLongValue( ( int )ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlLongValueTypeSplitMotfEndlessRepeat, 1 );

C# Example: Get the state of the endless repeat checkbox:

 

int Endless_Repeat_Checkbox = cci.ScGetLongValue( ( int )ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlLongValueTypeSplitMotfEndlessRepeat );

Table 294: 1D MOTF Splitting Checkboxes

1D MOTF Splitting Double Values
 

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 various double values in the 1D MOTF settings dialog.

Value_Type

Type: int

ID:

Location: ScComSAMLightClientCtrlValueTypes

scComSAMLightClientCtrlDoubleValueTypeSpeedMotfEntityBasedSplitting

91

Set function: Use speed [mm/s]. Get function: Current possible speed [mm/s]. The unit displayed in SAMLight is different: [m/min]. Only available in vector marking - entity based splitting.  

scComSAMLightClientCtrlDoubleValueTypeSplitMotfDistanceBetweenSplits

147

Gap between splits [mm]*. Endless repeat has to enabled.

Parameter

Type: double

Unit: depends on constant

The corresponding value.

CCI_Return

Type: int

CCI return number, see error list.

Notes

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

C# Example: Set the gap between the splits to 16.7 mm:

 

int CCI_Return = cci.ScSetDoubleValue( ( int )ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlDoubleValueTypeSplitMotfDistanceBetweenSplits, 16.7 );

C# Example: Get the gap between splits:

 

double Gap_Between_Splits = cci.ScGetDoubleValue( ( int )ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlDoubleValueTypeSplitMotfDistanceBetweenSplits );

Table 295: 1D MOTF Splitting Double Values

Splitting Submode
 

Set

Get

DLL Function

int CCI_Return = ScExecCommand(int Cmd_ID)

ASCII Function

int CCI_Return = ScCciExecCommand(int Cmd_ID)

Description

Set the submode of the drop down menu in the splitting settings dialog.

Cmd_ID

Type: int

ID:

Location: ScComSAMLightClientCtrlExecCommandConstants

scComSAMLightClientCtrlExecCommandSetMotfFixed

45

Vector marking - fixed split size.

scComSAMLightClientCtrlExecCommandSetMotfBmp

46

Bitmap Marking.

scComSAMLightClientCtrlExecCommandSetMotf

53

Vector marking - entity based splitting.

CCI_Return

Type: int

CCI return number, see error list.

Notes

 

C# Example: Set 1D splitting submode to vector marking - fixed size:

 

int CCI_Return = cci.ScExecCommand( ( int )ScComSAMLightClientCtrlExecCommandConstants.scComSAMLightClientCtrlExecCommandSetMotfFixed );

Table 296: Splitting Submode 1D MOTF Splitting