adddblayers class

Summary

Adds a layer to a workspace.

The layers are automatically dropped when the object gets out of scope.

Constructor

AddDBLayers( array options)

Option Name Type Contents
FileName string Name of the layer to add to the workspace
OpenOpts options array Open flags. Default is null. Read Only, AttributeTablesWritable, Shared

Properties

Name Type Contents
Layers array A list of the layers added to the workspace. If the layer is a line layer the list includes the name of the nodes layer. Null if the layer was not added or the layer is already in the workspace

Example

opts.FileName = "c:\\my_folder\\my_layer_file.dbd"
obj = CreateObject("AddDBLayers", opts)
layers = obj.Layers

See Also:

AddLayerDB

AddTables

Calculate Tables

Caliper.Charts

CC.ModifyTableOperations

CC.Table

Clustering

Data.Finder

Data.Geocoder

PostgreSQL Connect

PostgreSQL Command

Routing.Bands

Routing.Path

Routing.Router

Table

Utilities.Mail