Revit 2018 API |
FabricationPart..::..IsSameAs Method |
FabricationPart Class See Also |
Compare this fabrication part with the part passed and checks the pattern dimensions and options. A list of fields that can be ignored in the comparison check can be specified.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 18.0.0.0 (18.0.0.420)
Since:
2018
Syntax
C# |
---|
public bool IsSameAs( FabricationPart part, IList<FabricationPartCompareType> ignoreFields ) |
Visual Basic |
---|
Public Function IsSameAs ( _ part As FabricationPart, _ ignoreFields As IList(Of FabricationPartCompareType) _ ) As Boolean |
Visual C++ |
---|
public: bool IsSameAs( FabricationPart^ part, IList<FabricationPartCompareType>^ ignoreFields ) |
Parameters
- part
- Type: Autodesk.Revit.DB..::..FabricationPart
The part to compare this part with.
- ignoreFields
- Type: System.Collections.Generic..::..IList<(Of <(<'FabricationPartCompareType>)>)>
Array of types of data to ignore from the comparison check.
Return Value
Returns true if the fabrication parts are the same.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |