NetworkCatalogDefDeclareNewParameter Method

Declares a new part catalog parameter

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public static void DeclareNewParameter(
	string globalContext,
	string displayContext,
	string paramName,
	string paramDesc,
	PartCatalogDataType dataType,
	PartParamUsageType usage,
	string defaultUnits,
	bool singleton,
	bool catManagedList
)

Parameters

globalContext  String
Specifies the parameter's global context, which should be already declared.
displayContext  String
Specifies the display string of the parameter's context.
paramName  String
Specifies the parameter's name.
paramDesc  String
Specifies a description for the parameter.
dataType  PartCatalogDataType
Specifies the parameter's value data type.
usage  PartParamUsageType
Specifies the parameter's usage.
defaultUnits  String
Specifies the parameter's default units.
singleton  Boolean
Specifies if the parameter is a singleton.
catManagedList  Boolean
Specifies if the parameter belongs to a managed list.
Exceptions
ExceptionCondition
ArgumentException Thrown when input string is blank or when the input context is not declared yet.
See Also