Click or drag to resize

GH_IndexRuleSetAddRangePatternRule Method

Append a rule for filtering range patterns.

Namespace:  Grasshopper.Kernel.Data
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public void AddRangePatternRule(
	GH_IndexRange[] pattern
)

Parameters

pattern
Type: Grasshopper.Kernel.DataGH_IndexRange
Complete pattern. A complete pattern consists of at least three ranges, the first one signifying the pattern lower bound, the last one signifying the patters upper bound (use GH_IndexRange.MaxValue is you do not want to enforce an upper bound), and at least one range in between defining the pattern growth.
See Also