*# Set Var nMonitor=0
*Intformat "%i"
*loop Intervals
*Set Cond Monitor_for_Point   *nodes  *CanRepeat
*# Add Cond Monitor_for_Line    *nodes  *CanRepeat
*Add Cond Monitor_for_Surface *nodes  *CanRepeat
*If(ndime==3)
*Add Cond Monitor_for_Volume  *nodes  *CanRepeat
*EndIf
*If(CondNumEntities(Int)>0)
*# // selection has *CondNumEntities entities
*# Set Var Monitor=Operation(Monitor+1)
*loop nodes *OnlyInCond
*If(Cond(Dir-X,Int)==1 || Cond(Humidity,Int)==1 || Cond(Dir-Y,Int)==1 || Cond(Temperature,Int)==1 || Cond(Dir-Z,Int)==1 || Cond(Moisture_Content,Int)==1)
*# OUTPUT LOCATION OUTPUT_DATA DATA LIST "SELECTION_IDS_line_1_5" END
*# OUTPUT LOCATION OUTPUT_DATA DATA LIST "MONITOR_SET_1_napeti" END
OUTPUT LOCATION OUTPUT_DATA DATA LIST *\
"MONITOR_SET_2_*Cond(MonitorName)_|*NodesNum|_*tcl(OutputParser *Cond(Output_Data)) #*Cond(Dir-X,Int)*Cond(Humidity,Int)*Cond(Dir-Y,Int)*Cond(Temperature,Int)*Cond(Dir-Z,Int)*Cond(Moisture_Content,Int)" End ;
*# Set Var nMonitor=Operation(nMonitor+1)
*EndIf
*End nodes
*# // *\
*# WarningBox Info: You can only define Monitors in the first Interval
*EndIf
*break
*End Intervals

*# Set Var nMonitor=0
*Intformat "%i"
*loop Intervals
*Set Cond Monitor_for_Line    *nodes  *CanRepeat
*If(CondNumEntities(Int)>0)
*# // selection has *CondNumEntities entities
*# Set Var Monitor=Operation(Monitor+1)
*loop nodes *OnlyInCond
*#
*If(Cond(Dir-X,Int)==1 || Cond(Humidity,Int)==1 || Cond(Dir-Y,Int)==1 || Cond(Temperature,Int)==1 || Cond(Dir-Z,Int)==1 || Cond(Moisture_Content,Int)==1)
OUTPUT LOCATION OUTPUT_DATA DATA LIST "SELECTION_IDS_*Cond(MonitorName)*NodesNum" End ;
*EndIf
*If(Cond(Dir-X,Int)==1 || Cond(Humidity,Int)==1 || Cond(Dir-Y,Int)==1 || Cond(Temperature,Int)==1 || Cond(Dir-Z,Int)==1 || Cond(Moisture_Content,Int)==1)
OUTPUT LOCATION OUTPUT_DATA DATA LIST *\
*#
"*Cond(MonitorName)_|*NodesNum|_*tcl(OutputParser *Cond(Output_Data)) #*Cond(Dir-X,Int)*Cond(Humidity,Int)*Cond(Dir-Y,Int)*Cond(Temperature,Int)*Cond(Dir-Z,Int)*Cond(Moisture_Content,Int)" End ;
*# Set Var nMonitor=Operation(nMonitor+1)
*#
*EndIf
*#
*End nodes
*# // *\
*# WarningBox Info: You can only define Monitors in the first Interval
*EndIf
*break
*End Intervals
