Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
select_map [2011/07/31 20:26]
hermann created
select_map [2026/08/28 03:32] (current)
hermann Sync from local documentation review
Line 1: Line 1:
-====== Select Map ====== ​+====== Select Map ======
  
 ===== Description ===== ===== Description =====
  
-This container ​picks up a map from a series of maps.+Container that picks one map out of a series of maps connected inside it, based on the current step. Each candidate map must be connected through a [[Number Map]] hook, whose number identifies the step at which that map takes over. A map begins being selected once the model step reaches its number, and remains selected until the step reaches the number of another connected map, allowing one map to be swapped for another during a model'​s execution.
  
 ===== Inputs ===== ===== Inputs =====
 +
 +None.
  
 ===== Optional Inputs ===== ===== Optional Inputs =====
  
-^ Name ^ Type ^ Description ^ Default Value ^ +^ Name  ^ Type  ^ Description ​ ^ Default Value  
-| Step  | [[Positive ​Int Type|Positive Int]]  | Current step or model iteration.  |+| Step  | [[Positive ​Integer Value Type]] ​ | Step used to pick the map, automatically bound to the innermost compatible container | —  |
  
 ===== Outputs ===== ===== Outputs =====
  
-^ Name ^ Type ^ Description ^ +^ Name  ^ Type  ^ Description ​ 
-map  | [[Map Type|Map]]  | Any map.  |+Map  | [[Map Type]] ​ | Selected ​map.  |
  
 ===== Group ===== ===== Group =====
Line 21: Line 23:
 [[Functor List#Stack | Stack]] [[Functor List#Stack | Stack]]
  
-===== Notes ===== +===== Notes =====
  
-This container allows the replacement of one map with another during a model execution. Any map inside this container will begin to be used by a simulation according to its number identifier and will continue to be used until the model step reaches the number identifier of another map inside the same container.+Only [[Number Map]] hooks can be connected ​inside this container.
  
-Each map inside ​the "​Select Map" must be provided by a corresponding [[Number Map]].+The selected ​map is the one with the greatest number identifier that is still less than or equal to Step.
  
-===== Internal Name ===== +===== Internal Name =====
  
 SelectMap SelectMap