change_region_padding#
- Modeler3D.change_region_padding(padding_data, padding_type, direction=None, region_name='Region')#
Change region padding settings.
- Parameters:
- padding_data
str
orlist
of
str
Padding value (with unit if necessary). A list of padding values must have corresponding elements in
padding_type
anddirection
arguments.- padding_type
str
orlist
of
str
Padding type. Available options are
"Percentage Offset"
,"Transverse Percentage Offset"
,"Absolute Offset"
,"Absolute Position"
.- direction
str
orlist
of
str
,optional
Direction to which apply the padding settings. A direction can be
"+X"
,"-X"
, “+Y”`,"-Y"
,"+Z"
or"-Z"
. Default isNone
, in which case all the directions are used (in the order written in the previous sentence).- region_name
str
optional
Region name. Default is
Region
.
- padding_data
- Returns:
- bool
True
if successful, elseNone
.
Examples
>>> import ansys.aedt.core >>> app = ansys.aedt.core.Icepak() >>> app.modeler.change_region_padding("10mm", padding_type="Absolute Offset", direction="-X")