assign_surface_monitor#
- Icepak.assign_surface_monitor(face_name, monitor_type='Temperature', monitor_name=None)#
Assign a surface monitor.
- Parameters:
- Returns:
str
Monitor name when successful,
False
when failed.
References
>>> oModule.AssignFaceMonitor
Examples
Create a rectangle named
"Surface1"
and assign a temperature monitor to that surface.>>> surface = icepak.modeler.create_rectangle(icepak.PLANE.XY,[0, 0, 0],[10, 20],name="Surface1") >>> icepak.assign_surface_monitor("Surface1", monitor_name="monitor") 'monitor'