CustomGraphicsCoordinates.setCoordinate Method

Parent Object: CustomGraphicsCoordinates
Defined in namespace "adsk::fusion" and the header file is <Fusion/Graphics/CustomGraphicsCoordinates.h>

Description

Sets the coordinate at the specified index.

Syntax

"customGraphicsCoordinates_var" is a variable referencing a CustomGraphicsCoordinates object.
returnValue = customGraphicsCoordinates_var.setCoordinate(index, coordinate)
"customGraphicsCoordinates_var" is a variable referencing a CustomGraphicsCoordinates object.

#include <Fusion/Graphics/CustomGraphicsCoordinates.h>

returnValue = customGraphicsCoordinates_var->setCoordinate(index, coordinate);

Return Value

Type Description
boolean Returns true if setting the coordinate was successful.

Parameters

Name Type Description
index integer The index of the coordinate to set. The first coordinate has an index of 0.
coordinate Point3D The coordinate value as a Point3D object.

Version

Introduced in version September 2017