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: 16.0.0.0 (16.0.0.0)
Since: 2016 Subscription Release

Syntax

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

Parameters

productListEntry
Type: System Int32
The product list entry index.

Return Value

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

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentOutOfRangeException The product entry index is not larger than 0 and less than GetProductCount.

See Also