Share

RebarShapeParameters.IsValidExternalDefinition Method

Checks that an ExternalDefinition (shared parameter) may be used as a Rebar Shape parameter.


Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)

Syntax

C#

public static bool IsValidExternalDefinition(
	ExternalDefinition param
)

Parameters

param  ExternalDefinition
Definition of a shared parameter.

Return Value

Boolean
True if the definition is of type Length, false otherwise.

Exceptions

ExceptionCondition
ArgumentNullException A non-optional argument was null

Remarks

A Rebar Shape parameter must be an ExternalDefinition with a ParameterType of Length.

See Also

Reference

Was this information helpful?