Attr Builder
Class full path: PythonPart.AttrBuilder
Define specific PythonPart attributes
Functions
placement_matrix_attr(matrix)
staticmethod
Define attribute holding PythonPart matrix for update
Parameters:
Name | Type | Description | Default |
---|---|---|---|
matrix
|
Matrix3D
|
placement matrix |
required |
Returns:
Type | Description |
---|---|
AttributeDoubleVec
|
Attribute holding PythonPart matrix for update |
pyp_file_param_list_attr(python_file, parameter_list)
staticmethod
Define attribute holding python file name and all parameter - values pairs of pyp file
Parameters:
Name | Type | Description | Default |
---|---|---|---|
python_file
|
str
|
Filename of PYP file |
required |
parameter_list
|
list[str]
|
list of parameters of PYP file |
required |
Returns:
Type | Description |
---|---|
AttributeStringVec
|
Attribute holding values as string vector |
python_part_attr()
staticmethod
Define attribute holding "PythonPart" identification string
Returns:
Type | Description |
---|---|
AttributeString
|
Attribute holding PythonPart identifier |