class PythonPartTransaction

class PythonPartTransaction.PythonPartTransaction(doc: DocumentAdapter)

Implementation of the PythonPart transaction

__init__(doc: DocumentAdapter)

Initialize

Parameters

doc – document

execute(placement_matrix: Matrix3D,
        view_world_projection
: ViewWorldProjection
,
        model_ele_list
: List[Any]
,
        modify_uuid_list
: List[str]
,
        rearrange_reinf_pos_nr
: bool = True
,
        append_reinf_pos_nr
: bool = True
,
        asso_ref_object
: Optional[BaseElementAdapter] = None
,
        uuid_parameter_name
=''
)

execute the transaction

Parameters
  • placement_matrix – placement matrix

  • view_world_projection – view world projection

  • model_ele_list – list with the model elements

  • modify_uuid_list – list with the UUID’s of the modified PythonPart elements

  • rearrange_reinf_pos_nr – rearrange the reinforcement position numbers

  • append_reinf_pos_nr – True: Append the reinforcement position numbers to the existing position numbers False: Try to use the original reinforcement position numbers

  • asso_ref_object – associative view reference object

  • uuid_parameter_name – if set, the model object UUID of the created PythonPart is assigned to this parameter

__module__ = 'PythonPartTransaction'