create_airbox#

Modeler2D.create_airbox(offset=0, offset_type='Absolute', name='AirBox_Auto')[source]#

Create an airbox that is as big as the bounding extension of the project.

Parameters:
offset

Double offset value to apply on the airbox faces versus the bounding box. The default is 0.

offset_typestr

Type of the offset. Options are "Absolute" and "Relative". The default is "Absolute". If "Relative", the offset input is between 0 and 100.

namestr, optional

Name of the airbox. The default is "AirBox_Auto".

Returns:
int

ID of the airbox created.

References

>>> oEditor.CreateBox