Skip to main content

Speos Labs automation APIs 2024 R1

GetValueRectangle

Last update: 17.07.2025

Description

Gets the average value for the given rectangle area.

Syntax

object.GetValueRectangle(double dXPos, double dYPos, double dWidth, double dHeight) As Double

  • 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

Remark

For Conoscopic map, the given area is a corona defined by:

  • dXPos: Minimum value of the theta angle

  • dYPos: Maximum value of the theta angle

  • dWidth: Minimum value of the phi angle

  • dHeight: Maximum value of the phi angle

Connect with Ansys