Skip to content

AttrBuilder

Canonical path: PythonPart.AttrBuilder

Define specific PythonPart attributes

Methods:

placement_matrix_attr staticmethod

placement_matrix_attr(matrix: Matrix3D) -> AttributeDoubleVec

Define attribute holding PythonPart matrix for update

Parameters:

  • matrix (Matrix3D) –

    placement matrix

Returns:

pyp_file_param_list_attr staticmethod

pyp_file_param_list_attr(
    python_file: str, parameter_list: list[str]
) -> tuple[AttributeStringVec, list[str]]

Define attribute holding python file name and all parameter - values pairs of pyp file

Parameters:

  • python_file ( ) –

    Filename of PYP file

  • parameter_list (list[str]) –

    list of parameters of PYP file

Returns:

python_part_attr staticmethod

python_part_attr() -> AttributeString

Define attribute holding "PythonPart" identification string

Returns: