Click or drag to resize

IDBConfigWriterAddUpdateLocalKnowledge Method

Adds a new local knowledge entry to the site, or updates an existsing entry.

Namespace:  Cadcorp.Configuration.Connectors
Assembly:  Cadcorp.Configuration (in Cadcorp.Configuration.dll) Version: 9.0.2618.0 (9.0.2618.0)
Syntax
int AddUpdateLocalKnowledge(
	int localKnowledgeId,
	string name,
	string swdPath,
	int nothingFoundTemplateId,
	int fullTemplateId,
	int summaryTemplateId,
	LayerTemplateData[] layerTemplates
)

Parameters

localKnowledgeId
Type: SystemInt32
ID Value
name
Type: SystemString
Name of local knowledge bit
swdPath
Type: SystemString
Path to local knowledge SWD.
nothingFoundTemplateId
Type: SystemInt32
Nothing found template ID
fullTemplateId
Type: SystemInt32
Full Template ID
summaryTemplateId
Type: SystemInt32
Summary Template ID
layerTemplates
Type: Cadcorp.ConfigurationLayerTemplateData
Layer template array

Return Value

Type: Int32
Boolean value indicating success.
See Also