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: 22.0.0.0 (22.1.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: System..::..Int32
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.Exceptions..::..ArgumentOutOfRangeException The product entry index is not larger than 0 and less than GetProductCount.

See Also