EntitiesByTag

Returns all entities which have a specified tag at the current time step or now.

Syntax

EntitiesByTag(tag name)
  • tag name: name of tag

Example

EntitiesByTag(”Sand problem”)
 

Returns all entities which have a specified tag at specified moment in time.

Syntax

EntitiesByTag(string tagName, string tagEntryOption)

The following values allowed:

1. Ever - entities which have at least one tag entry for specified tag regardless of time range

2. Last - entities which last tag entry has specified tag regardless of time range

3. Now - entities which have a specified tag now

4. Current - entities which have a specified tag at the currenttime step or now (when no current time step available)

Examples

EntitiesByTag("Sand problem", "Ever")

EntitiesByTag("Sand problem", "Last")

EntitiesByTag("Sand problem", "Now")

EntitiesByTag("Sand problem", "Current")
 

Returns all entities which have a specified tag in the specified time range.

Syntax

EntitiesByTag(string tagName, date/time fromDate, date/time toDate)

Examples

EntitiesByTag("Sand problem", #09/20/2015#, #09/24/2015#) 

EntitiesByTag("Water coning", FromsStart(), Now())