Skip to Content
FASTSUITE E2API ReferencePython APIAPI DomainsEvent HandlingEvent_PE Operator Upload

Event_PE Operator Upload

Quick Facts

PropertyValue
ClassCENPyOlpEvent_PEOperatorUpload
Modulecenpylib.CENPyOlpEvent_PEOperatorUpload
Packagecenpylib
ReleaseR2025.2.4
Methods5
Inherits fromCENPyOlpEvent_PEOperator

Inheritance

Quick Start

# Boilerplate Example # Acquire the event object from the runtime context event_PEOperatorUpload = ... # provided by the framework

Method Index

MethodReturnsSummary
SetComputationStateMatrixSets one of the matrices of TPE depending on given state
CreateMatrixCENPyOlpMatrixCreates a new unit matrix
CreatePointCENPyOlpPointCreates a point with the given coordinates
CreateVectorCENPyOlpVectorCreates a vector with the given coordinates
GetOperationAttribCreatorCENPyOlpAttribCreatorGet attribute creator of event operation

Lifecycle

CreateMatrix

def CreateMatrix() -> CENPyOlpMatrix

Creates a new unit matrix

Returns: CENPyOlpMatrix — Newly created unit matrix

CreatePoint

def CreatePoint(x: float, y: float, z: float) -> CENPyOlpPoint

Creates a point with the given coordinates

Parameters:

NameTypeDescription
xfloatx-coordinate
yfloaty-coordinate
zfloatz-coordinate

Returns: CENPyOlpPoint — Newly created point

CreateVector

def CreateVector(x: float, y: float, z: float) -> CENPyOlpVector

Creates a vector with the given coordinates

Parameters:

NameTypeDescription
xfloatx-coordinate
yfloaty-coordinate
zfloatz-coordinate

Returns: CENPyOlpVector — Newly created vector

Query Methods

GetOperationAttribCreator

def GetOperationAttribCreator() -> CENPyOlpAttribCreator

Get attribute creator of event operation

Returns: CENPyOlpAttribCreator — Attribute creator of event operation

Mutation Methods

SetComputationStateMatrix

def SetComputationStateMatrix(tpe: CENPyOlpTpElement, computeStateMatrix: int, newMatrix: CENPyOlpMatrix)

Sets one of the matrices of TPE depending on given state

Parameters:

NameTypeDescription
tpeCENPyOlpTpElementTPE to set matrix
computeStateMatrixintstate to set matrix to
newMatrixCENPyOlpMatrixnew Matrix

Version Notes

This class is documented as of release R2025.2.4.

Was this page helpful?