<< Click to Display Table of Contents > Create beam-compensated Copy of Entity |
![]() ![]() ![]() |
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 422: Create beam compensated copy