<< Click to Display Table of Contents > 

Client Control Interface Manual > Programming Examples > Create beam-compensated Copy of Entity

Create beam-compensated Copy of Entity
Previous pageReturn to chapter overviewNext page

The following examples shows how to create a beam compensated copy of an entity.

 

Create beam compensated copy of entity (ScWinTextChars2D)

 

//define the original entity from which the copy should be created

cci.ScSetStringValue( ( int )ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlStringValueTypeStringPara1, "OriginalEntity" );

 

//define the entity for the copy

cci.ScSetStringValue( ( int ) ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlStringValueTypeStringPara2,"BeamCompedEntity" );

 

//define the distance parameter for the beam compensation itself

cci.ScSetDoubleValue( ( int ) ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlDoubleValueTypeDoublePara1, 0.1 );

 

//create the beam compensated copy of the original entity

cci.ScExecCommand( ( int ) ScComSAMLightClientCtrlExecCommandConstants.scComSAMLightClientCtrlExecCommandCreateBeamCompedCopy )

Table 395: Create beam compensated copy