Skip to Content

Arc Report Utility — Query Methods

Back to Arc Report Utility.

getRelatedDataSet

def getRelatedDataSet(Operator, pgmnr)

Check and returns if there is a related DataSet where the Program number fits.

Parameters:

NameTypeDescription
Operator—the CENPyOlpProgramModifyOperator
pgmnr—the Welding Program Number

getRGBColours

def getRGBColours(item)

Get the RGB Colours for the Table Header Row. Can be set in the Report NLS File by “headerrowcolor=176.195.52” (Cenit green)

Parameters:

NameTypeDescription
item—the desired Item from NLS File

getAnyEvent

def getAnyEvent(eventHandler, opTpe, eventName)

Calculates linear tool path length

Parameters:

NameTypeDescription
eventHandler—The event handler
opTpe—the current tool path element
eventName——

getVector

def getVector(point1, point2)

Gets vector through two points

Parameters:

NameTypeDescription
point1—First point
point2—Second point

getVectorLength

def getVectorLength(vector)

Calculates vector length

Parameters:

NameTypeDescription
vector—The vector to calculate the length for

getVectorScalar

def getVectorScalar(vector1, vector2)

Calculates vector scalar

Parameters:

NameTypeDescription
vector1—The first vector
vector2—The second vector
Was this page helpful?