Skip to content

← deprecated package

CreateRange

This node is deprecated.

Use Create Selection Interval instead. Defines an index range that can be used to select items from a collection, e.g., using SelectRange. Slices consist of a start index, a stop index, and a step size, and the end value is by convention not included in the range unless the inclusive option is set to True. Both the start and end value are optional, and if not given, range from/to the respective end of the data. Slices use 0-based indexing, and negative integers count from the end of the collection that they are used with, where -1 is the last element, -2 the second-to-last etc. Version 1.0.0

Ports/Properties

selection

Selection range.

  • verbose name: Selection
  • default value: None
  • port type: DataPort
  • value type: slice (can be None)
  • data direction: OUT

start

Start value of the range.

  • verbose name: Start
  • default value: None
  • port type: IntPort
  • value type: int (can be None)

stop

End value of the range. Not included in the range unless the inclusive option is set to True.

  • verbose name: Stop
  • default value: None
  • port type: IntPort
  • value type: int (can be None)

step

Step size of the range.

  • verbose name: Step
  • default value: 1
  • port type: IntPort
  • value type: int (can be None)

inclusive

Whether the stop value is inclusive or exclusive.

  • verbose name: Stop Included In Range
  • default value: False
  • port type: BoolPort
  • value type: bool (can be None)

set_breakpoint

Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.

  • verbose name: Set Breakpoint (Debug Only)
  • default value: False
  • port type: BoolPort
  • value type: bool (can be None)

metadata

User-definable meta-data associated with the node. Usually reserved for technical purposes.

  • verbose name: Metadata
  • default value: {}
  • port type: DictPort
  • value type: dict (can be None)