Skip to content

Python Part Service

Class full path: NemAll_Python_BaseElements.PythonPartService

Functions

GetParameter(ele) staticmethod

Get the parameter of the PythonPart

Parameters:

Name Type Description Default
ele BaseElementAdapter

Element

required

Returns:

Name Type Description
Successful tuple

true/false,

tuple

Name of the PythonPart,

tuple

Parameter

GetPlacementMatrix(ele) staticmethod

Get the placement matrix

Parameters:

Name Type Description Default
ele BaseElementAdapter

Element

required

Returns:

Name Type Description
Successful tuple

true/false,

tuple

Placement matrix

SetParameter(ele, name, paramList) staticmethod

Set the parameter of the PythonPart

Parameters:

Name Type Description Default
ele BaseElementAdapter

Element

required
paramList list

Parameter list

required

Returns:

Type Description
BaseElementAdapter

Modified element