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

AVEVA™ Plant SCADA

AttributeNodeCoordinatesFirst

  • Last UpdatedJul 13, 2023
  • 1 minute read

Returns the coordinates of the first node of a free hand line, polygon or pipe.

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

AttributeNodeCoordinatesFirst(XPosition, YPosition)

XPosition:

Distance from the left-hand side of the page to the first node of an object, measured in pixels.

YPosition:

Distance from the top of the page to the first node of an object, measured in pixels.

Return Value

The coordinates of the current object's first node. 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.

AttributeNodeCoordinatesNext

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