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

AVEVA™ Plant SCADA

AttributeY

  • Last UpdatedJul 13, 2023
  • 1 minute read

Retrieves the Y coordinate of the active object. This is a read-only function.

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

AttributeY(YPosition)

YPosition:

A value between 0 and 65536.

Return Value

A value between 0 and 65536. 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.

AttributeX, AttributeAN

Example

' Retrieves the Y coordinate for the current object
MyVariable = GraphicsBuilder.AttributeY

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