IsValidExternalDefinition Method


Rebar Shape Parameters Is Valid External Definition 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: 25.0.0.0 (25.0.0.0)
Syntax
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
Exception Condition
ArgumentNullException A non-optional argument was
Remarks
A Rebar Shape parameter must be an ExternalDefinition with a ParameterType of Length.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →