Skip to main content

Speos Labs automation APIs 2024 R1

SurfaceRectangleGeneralCRI

Last update: 17.07.2025

Description

Returns the general color rendering index for the given rectangle area.

Syntax

object.SurfaceRectangleGeneralCRI(double dXPos, double dYPos, double dWidth, double dHeight, VARIANT* vdCRI) As Short

  • object: Virtual Photometric Lab object

  • dXPos: horizontal coordinate of the center of the rectangle

  • dYPos: vertical coordinate of the center of the rectangle

  • dWidth: horizontal size of the rectangle

  • dHeight: vertical size of the rectangle

  • vdCRI: general color rendering index value

Connect with Ansys