ScrSetIcepakThermalEnv

Sets the thermal environment settings to use for Icepak simulations.

UI Command:   Simulation > Icepak. Select an appropriate settings.
Syntax:   obj.ScrSetIcepakThermalEnv(<convection>, <forcedAir>, <topOrAmbientTempC>, <topOrOverallFlowDir>, <topOrOverallFlowSpeed>, <bottomTempC>, <bottomFlowDir>, <bottomFlowSpeed>, <gravVecX>, <gravVecY>, <gravVecZ>)
Parameters:  

BOOL convection (TRUE = convection; FALSE = conduction)

BOOL forcedAir (TRUE = forced convection; FALSE = natural convection)

DOUBLE topOrAmbientTempC (temperature above PCB, in Celsius)

BSTR topOrOverallFlowDir (flow direction above PCB)

DOUBLE topOrOverallFlowSpeed (flow speed above PCB)

DOUBLE bottomTempC (temperature below PCB, in Celsius)

BSTR bottomFlowDir (flow direction below PCB)

DOUBLE bottomFlowSpeed (flow speed below PCB)

DOUBLE gravVecX (gravity vector x for natural convection)

DOUBLE gravVecY (gravity vector y for natural convection)

DOUBLE gravVecZ (gravity vector z for natural convection)

Return Value:  

INT:

  • 0 – Success
  • Else – Failure
VB Example:  

obj.ScrSetIcepakThermalEnv(TRUE, TRUE, 22.3, "+Y", 2.5, 0.0, "", 0.0, 0.0, 0.0, 0.0)

IPY Example:  

oDoc.ScrSetIcepakThermalEnv(True, True, 22.3, '+Y', 2.5, 0.0, '', 0.0, 0.0, 0.0, 0.0)