All Cadcorp SIS API Methods

Process Method

Description

Runs a single or multiple processes.

Note: This method is similar to ProcessItem but instead of expecting an open item it accepts a reference to a named cursor.

Syntax

Visual Basic
Public Function Process( _
   ByVal Cursor As String, _
   ByVal Process As String, _
) As Integer

Parameters

cursor
The named cursor on which to run the process.

Process
The name of the process to run.

Argument for Process method

'{"Operations":[{"Operation":"Item.Simplify"}]}'

The entire string for an individual operation should be placed inside the syntax '{"Operations":[ ]}', i.e. inside the square brackets.

Refer to the Processes topic in the HTTP API section of this Help as most of the operations that are applicable to multiple items can be used in the Process method.

Remarks

Available: GEO OD SISpy

Group:

Example

sis.Process(‘named_cursor’,'{"Operations":[{"Operation":"Item.Simplify"}]}')