> ## Documentation Index
> Fetch the complete documentation index at: https://notevil.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CAPLfunctionIso11783ILOPChangePolygonPoint

[Open topic with navigation](../../../../../../CANoeDEFamily.htm#Topics/CAPLFunctions/ISO11783/ISOInteractionLayer/Functions/CAPLfunctionIso11783ILOPChangePolygonPoint.md)

**CAPL Functions** » **ISO11783** » **ISO11783 Interaction Layer** » Iso11783IL\_OPChangePolygonPoint

# Iso11783IL\_OPChangePolygonPoint

[Valid for](../../../../Shared/FeatureAvailability.md): CANoe DE • CANoe4SW DE

## Function Syntax

```plaintext theme={null}
long Iso11783IL_OPChangePolygonPoint( dword polygonID, dword index, dword x, dword y ); // form 1
long Iso11783IL_OPChangePolygonPoint( dbNode implement, dword polygonID, dword index, dword x, dword y ); // form 2
```

## Description

The function changes the position of a point of a polygon object. A **Change Polygon Point** command is sent to the Virtual Terminal.

## Parameters

* **polygonID**: Object ID of a polygon object
* **index**: Index of the point
* **x**: X position
* **y**: Y position
* **implement**: Simulation node to apply the function.

## Return Values

* **0**: Function has been executed successfully
* **\< 0**: An error has occurred, see [error codes](../../../CAPLfunctionsISOj1939ErrorCodes.md)

## Example

```plaintext theme={null}
Iso11783IL_OPChangePolygonPoint( 1200, 2, 25, 10 );
```
