Event_PE Operator Upload
Quick Facts
| Property | Value |
|---|---|
| Class | CENPyOlpEvent_PEOperatorUpload |
| Module | cenpylib.CENPyOlpEvent_PEOperatorUpload |
| Package | cenpylib |
| Release | R2025.2.4 |
| Methods | 5 |
| Inherits from | CENPyOlpEvent_PEOperator |
Inheritance
Quick Start
# Boilerplate Example
# Acquire the event object from the runtime context
event_PEOperatorUpload = ... # provided by the frameworkMethod Index
| Method | Returns | Summary |
|---|---|---|
SetComputationStateMatrix | — | Sets one of the matrices of TPE depending on given state |
CreateMatrix | CENPyOlpMatrix | Creates a new unit matrix |
CreatePoint | CENPyOlpPoint | Creates a point with the given coordinates |
CreateVector | CENPyOlpVector | Creates a vector with the given coordinates |
GetOperationAttribCreator | CENPyOlpAttribCreator | Get attribute creator of event operation |
Lifecycle
CreateMatrix
def CreateMatrix() -> CENPyOlpMatrixCreates a new unit matrix
Returns: CENPyOlpMatrix — Newly created unit matrix
CreatePoint
def CreatePoint(x: float, y: float, z: float) -> CENPyOlpPointCreates a point with the given coordinates
Parameters:
| Name | Type | Description |
|---|---|---|
x | float | x-coordinate |
y | float | y-coordinate |
z | float | z-coordinate |
Returns: CENPyOlpPoint — Newly created point
CreateVector
def CreateVector(x: float, y: float, z: float) -> CENPyOlpVectorCreates a vector with the given coordinates
Parameters:
| Name | Type | Description |
|---|---|---|
x | float | x-coordinate |
y | float | y-coordinate |
z | float | z-coordinate |
Returns: CENPyOlpVector — Newly created vector
Query Methods
GetOperationAttribCreator
def GetOperationAttribCreator() -> CENPyOlpAttribCreatorGet 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:
| Name | Type | Description |
|---|---|---|
tpe | CENPyOlpTpElement | TPE to set matrix |
computeStateMatrix | int | state to set matrix to |
newMatrix | CENPyOlpMatrix | new Matrix |
Related Types
Version Notes
This class is documented as of release R2025.2.4.
Was this page helpful?