AttrBuilder
Canonical path: PythonPart.AttrBuilder
Define specific PythonPart attributes
placement_matrix_attr
staticmethod
placement_matrix_attr(matrix: Matrix3D) -> AttributeDoubleVec
Define attribute holding PythonPart matrix for update
Parameters:
-
matrix
(Matrix3D
) –placement matrix
Returns:
-
AttributeDoubleVec
–Attribute holding PythonPart matrix for update
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:
-
tuple[AttributeStringVec, list[str]]
–Attribute holding values as string vector, geometry parameter values
python_part_attr
staticmethod
python_part_attr() -> AttributeString
Define attribute holding "PythonPart" identification string
Returns:
-
AttributeString
–Attribute holding PythonPart identifier
Placeholder