edit_design_settings#
- Icepak.edit_design_settings(gravity_dir=0, ambtemp=20, performvalidation=False, check_level='None', defaultfluid='air', defaultsolid='Al-Extruded', export_monitor=False, export_directory='C:\\actions-runner\\_work\\pyaedt\\pyaedt', gauge_pressure=0, radiation_temperature=20, ignore_unclassified_objects=False, skip_intersection_checks=False, **kwargs)[source]#
Update the main settings of the design.
- Parameters:
- gravity_dir
int
,optional
Gravity direction from -X to +Z. Options are
0
to5
. The default is0
.- ambtemp
float
,str
,optional
Ambient temperature. The default is
20
. The default unit is celsius for float or string including unit definition is accepted, e.g.325kel
.- performvalidationbool,
optional
Whether to perform validation. The default is
False
.- check_level
str
,optional
Level of check to perform during validation. The default is
"None"
.- defaultfluid
str
,optional
Default fluid material. The default is
"air"
.- defaultsolid
str
,optional
Default solid material. The default is
"Al-Extruded"
.- export_monitorbool,
optional
Whether to use the default export directory for monitor point data. The default value is
False
.- export_directory
str
,optional
Default export directory for monitor point data. The default value is the current working directory.
- gauge_pressure
float
,str
,optional
Set the Gauge pressure. It can be a float (units will be “n_per_meter_sq”) or a string with units. Default is
0
.- radiation_temperature
float
,str
,optional
Set the radiation temperature. It can be a float (units will be “cel”) or a string with units. Default is
20
.- ignore_unclassified_objectsbool,
optional
Whether to ignore unclassified objects during validation check. The default value is
False
.- skip_intersection_checksbool,
optional
Whether to skip intersection checks during validation check. The default value is
False
.- Returns
- ——-
- bool
True
when successful,False
when failed.
- gravity_dir
References
>>> oDesign.SetDesignSettings