Skip to content

SmtArchOpeningScriptObject

implementation of the architecture opening script object for converted opening SmartParts

SmtArchOpeningScriptObject

Canonical path: Utils.ScriptObjects.SmtArchOpeningScriptObject.SmtArchOpeningScriptObject

Bases: BaseSmtScriptObject[T]

architecture opening script object for converted opening SmartParts

__init__

__init__(
    build_ele: T,
    script_object_data: BaseScriptObjectData,
    opening_sel_type: ArchOpeningSelectType,
    x_ref_pnt_fac: float,
    y_ref_pnt_fac: float,
    z_ref_pnt_fac: float,
    length_unit: LengthUnit = MM,
)

script object initialization

Parameters:

  • build_ele (T) –

    building element with the parameter properties

  • script_object_data (BaseScriptObjectData) –

    script object data

  • opening_sel_type (ArchOpeningSelectType) –

    opening selection type

  • x_ref_pnt_fac (float) –

    factor for the x reference point

  • y_ref_pnt_fac (float) –

    factor for the y reference point

  • z_ref_pnt_fac (float) –

    factor for the z reference point

  • length_unit (LengthUnit, default: MM ) –

    length unit for the transformation stack

create_element_result

create_element_result() -> CreateElementResult

create element result

Returns:

draw_preview

draw_preview()

Draw the preview

start_input

start_input()

start the input

start_next_input

start_next_input()

start the next input

Placeholder