Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

AttributeEndAngle

  • Last UpdatedJul 13, 2023
  • 1 minute read

Sets the end angle of an arc or pie-slice, or retrieves the end angle.

This function applies to the selected object, which is typically the last placed object. By using the PageSelectFirstObject and PageSelectNextObject functions, you can access your objects and change or read their properties.

Syntax

AttributeEndAngle(Angle)

Angle:

A value between 0 and 360 representing the end angle (in degrees).

Return Value

If retrieving the end angle, a value between 0 and 360. If applying an end angle, 0 (zero) if successful. In both cases, an error is returned if unsuccessful. If values are out of range on writing to the attribute, the function will exit and report the error E_INVALIDARG. If there is no active object, they will exit and report a return value of E_HANDLE.

Note: For details on handling return and error values, see Error Handling.

AttributeStartAngle

Example

' Sets the end angle of an arc
GraphicsBuilder.AttributeEndAngle = 45

' Retrieves the start angle for an arc
MyVariable = GraphicsBuilder.AttributeEndAngle

Note: This function is implemented in the C++ environment as two separate functions: put_AttributeEndAngle applies an end angle setting, and get_AttributeEndAngle retrieves the current end angle setting.

In This Topic
TitleResults for “How to create a CRG?”Also Available in