All Cadcorp SIS API Methods

OpenDatasetItem Method

Description

Opens the Item in the named dataset with the given ID number, making it the current open Item. If the dataset is not open, Cadcorp SIS will open it and attempt to own it.

Syntax

Visual Basic
Public Function OpenDatasetItem( _
   ByVal dataset As String, _
   ByVal id As Long _
) As Integer

Parameters

dataset
The filename of the dataset whose Item is to be opened.
 
id
The ID number of the Item to be opened.

Remarks

Available: GEO D OD OM SISpy

Group:

Example

sis.OpenDatasetItem ("c:\data\planning\planning.bds", 103)

opens the item whose ID is 103, on the dataset c:\data\planning\planning.bds