Share

Turnout.GetCustomParameterValue Method

Get custom parameter value from turnout settings.



Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280

Syntax

C#

public Object GetCustomParameterValue(
	string name
)

VB

Public Function GetCustomParameterValue ( 
	name As String
) As Object

C++

public:
Object^ GetCustomParameterValue(
	String^ name
)

Parameters

name  String
Custom parameter name.

Return Value

Object

Exceptions

ExceptionCondition
ArgumentException Thrown when:
  1. The input parameter type is not supported.
  2. Can not find the parameter from custom parameter list.

Remarks

This method gets custom parameter value from turnout settings. If the parameter is number type, it will return a double value. If the parameter is enum type, it will return a string value of its global name, not display name. If the parameter is string type, it will return a string value.

See Also

Reference

Was this information helpful?