Parameter: GraphVarName Name of the display variable which contains a SlEs‐
GraphCustomWidget
Return Value Error code (bool): TRUE = successful
x1 left-hand edge (double)
y1 left-hand edge (double)
x2 right-hand edge (double)
y2 lower edge (double)
addRoundedRect – add rectangle with rounded corners to a contour
Syntax: ReturnValue = CallCWMethod
(GraphVarName, "
addRoundedRect
", x1, y1, x2,
y2, r)
Description: Adds a rectangle with rounded off corners to the currently selected contour.
Parameter: GraphVarName Name of the display variable which contains a SlEs‐
GraphCustomWidget
Return Value Error code (bool): TRUE = successful
x1 left-hand edge (double)
y1 upper edge (double)
x2 upper edge (double)
y2 upper edge (double)
r Radius (double)
addElipse – add ellipse to a contour
Syntax: ReturnValue = CallCWMethod
(GraphVarName, "
addEllipse
", x1, y1, x2, y2, ra‐
dius)
Description: Adds an ellipse to the currently selected contour.
Parameter: GraphVarName Name of the display variable which contains a SlEs‐
GraphCustomWidget
Return Value Error code (bool): TRUE = successful
x1 left-hand edge (double)
y1 upper edge (double)
x2 right-hand edge (double)
y2 lower edge (double)
Radius Radius (double)
addCircle – add circle to a contour
Syntax: ReturnValue = CallCWMethod
(GraphVarName, "
addCircle
", x, y, radius)
Description: Adds a circle to the currently selected contour
Graphic and logic elements
7.5 SIEsGraphCustomWidget
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1 239