Splits the region which contains the specified grid point by a line with the specified direction.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public int SplitRegion(
UV gridUV,
RectangularGridSegmentOrientation splitDirection
)
Parameters
- gridUV UV
-
Coordinates of a point in the rectangular grid of this compound structure.
- splitDirection RectangularGridSegmentOrientation
-
Specifies the direction of the split.
Return Value
Int32
The id of the region created by this operation.
Exceptions
Remarks
This method is meant to be used in conjunction with
FindEnclosingRegionAndSegments(UV, RectangularGridSegmentOrientation, Int32%, Int32%).
Grid coordinates correspond to uv coordinates of faces.
See Also
Reference