<< Prev        Next >>

ID : 5846

CurCPMode

Function

Obtain the setting value of the CP interpolation mode.

This command is available in Ver.1.8.* or higher.

Syntax

CurCPMode

Return value

Obtain the setting value of CP interpolation mode by an integer type data.

Description

This command returns currently selected value of CP interpolation mode. For details about setting values, refer to Guaranteed entry in CPMove command.

Use this command when you want to temporarily change the setting value as shown below.

Related Terms

CPMode

Attention

-

Example

Sub Main	
 Dim prevSet As Variant				

 'Obtain currently selected CP interpolation mode.					
 prevSet = CurCPMode

 'Set a CP interpolation mode.			
 CPMode 1				

 'Execute any processing.				

 'Set the CP interpolation mode to the original setting.			
 CPMode prevSet

End Sub

ID : 5846

<< Prev        Next >>