Skip to Content
FASTSUITE E2API ReferencePython APIAPI DomainsOperatorsProcess Geometry Operator

Process Geometry Operator

Quick Facts

PropertyValue
ClassCENPyOlpProcessGeometryOperator
Modulecenpylib.CENPyOlpProcessGeometryOperator
Packagecenpylib
ReleaseR2025.2.4
Methods14

Quick Start

# Boilerplate Example processGeometryOperator = ... # obtained from the runtime context result = processGeometryOperator.GetInteger("...")

Method Index

MethodReturnsSummary
GetIntegerintGets the Integer Value for the given Integer attribute
GetDoublefloatGets the Double Value for the given Double attribute
GetStringstrGets the String Value for the given String attribute
GetBoolboolGets the Bool Value for the given Bool attribute
GetProcessGeometryNamestrGets the Name of the current used Process Geometry
IsRegshapeboolCheck if the process geometry is a regshape
GetRegshapeTypeintDetects and returns the RegshapeType
GetRegshapeCenterCENPyOlpMatrixReturns the center of the regshape with respect to the base frame coordinates given by the operation
GetRegshapeLengthfloatGets the Length of the Regshape
GetRegshapeHeightfloatGets the Height of the Regshape
GetRegshapeRadiusfloatGets the Radius of the Regshape
GetRegshapeCornerRadiusfloatGets the CornerRadius of the Regshape (Keyhole)
GetGeoTypeintGets the Process geometry Type
GetContourLengthfloatReturns the curve length of the contour process geometry.

Query Methods

GetInteger

def GetInteger(name: str) -> int

Gets the Integer Value for the given Integer attribute

Parameters:

NameTypeDescription
namestrname of the attribute.

Returns: int — Value of the Integer Attribute.

GetDouble

def GetDouble(name: str) -> float

Gets the Double Value for the given Double attribute

Parameters:

NameTypeDescription
namestrname of the attribute.

Returns: float — Value of the Double Attribute.

GetString

def GetString(name: str) -> str

Gets the String Value for the given String attribute

Parameters:

NameTypeDescription
namestrname of the attribute.

Returns: str — Value of the String Attribute.

GetBool

def GetBool(name: str) -> bool

Gets the Bool Value for the given Bool attribute

Parameters:

NameTypeDescription
namestrname of the attribute.

Returns: bool — Value of the Bool Attribute.

GetProcessGeometryName

def GetProcessGeometryName() -> str

Gets the Name of the current used Process Geometry

Returns: str — Name of the Process Geometry.

IsRegshape

def IsRegshape() -> bool

Check if the process geometry is a regshape

Returns: bool — True if regshape detected, otherwise False.

GetRegshapeType

def GetRegshapeType() -> int

Detects and returns the RegshapeType

Returns: int — detected RegshapeType as an Integer

GetRegshapeCenter

def GetRegshapeCenter() -> CENPyOlpMatrix

Returns the center of the regshape with respect to the base frame coordinates given by the operation this regshape is assigned to. If this is no regshape nullptr is returned.

Returns: CENPyOlpMatrix — regshape center in a Matrix base frame coordinates

GetRegshapeLength

def GetRegshapeLength() -> float

Gets the Length of the Regshape

Returns: float — Length of the Regshape in a Double

GetRegshapeHeight

def GetRegshapeHeight() -> float

Gets the Height of the Regshape

Returns: float — Height of the Regshape in a Double

GetRegshapeRadius

def GetRegshapeRadius() -> float

Gets the Radius of the Regshape

Returns: float — Radius of the Regshape in a Double

GetRegshapeCornerRadius

def GetRegshapeCornerRadius() -> float

Gets the CornerRadius of the Regshape (Keyhole)

Returns: float — CornerRadius of the Regshape in a Double

GetGeoType

def GetGeoType() -> int

Gets the Process geometry Type

Returns: int — detected RegshapeType as an Integer

GetContourLength

def GetContourLength() -> float

Returns the curve length of the contour process geometry.

Returns: float — Contour curve length.

Version Notes

This class is documented as of release R2025.2.4.

Was this page helpful?