Technical Reference > Graphics Builder Automation Interface > Object Drawing and Property Functions > AttributeNodeCoordinatesNext


Returns the coordinates of any following nodes of a free hand line, polygon or pipe when implemented after AttributeNodeCoordinatesFirst.

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.


AttributeNodeCoordinatesNext(XPosition, YPosition)


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


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

The coordinates of the object's following nodes, or E_ABORT if no more nodes are left. 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.

Related Functions