Gets a fitting or segment id of given routing preference group that meets the specified routing conditions.
Namespace:
Autodesk.Revit.DB
Assembly:
RevitAPI
(in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since:
2013
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- groupType
-
Type:
Autodesk.Revit.DB
RoutingPreferenceRuleGroupType
The routing preference group
- conditions
-
Type:
Autodesk.Revit.DB
RoutingConditions
A set of routing conditions
Return Value
The Id of the fitting or segment that met the given routing conditions.Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions ArgumentNullException | A non-optional argument was NULL |
Autodesk.Revit.Exceptions ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |