IsProductListEntryCompatibleSize Method


Checks to see if this part can be changed to the specified product entry without altering any connected dimensions.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2016 Subscription Release

Syntax

C#
public bool IsProductListEntryCompatibleSize(
	int productEntry
)
Visual Basic
Public Function IsProductListEntryCompatibleSize ( _
	productEntry As Integer _
) As Boolean
Visual C++
public:
bool IsProductListEntryCompatibleSize(
	int productEntry
)

Parameters

productEntry
Type: SystemInt32
The product entry index.

Return Value

Returns true if the part can be changed to the specified product entry without altering any connected dimensions.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentOutOfRangeException The product entry index is not larger than 0 and less than GetProductCount.

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 →