eda_pcb_math_polygon_calculate_height
Calculate the bounding-box height of a polygon or complex polygon in the PCB editor. Input a polygon shape to get its height, aiding design verification and layout adjustments.
Instructions
pcb_MathPolygon.calculateHeight(complexPolygon: TPCB_PolygonSourceArray | Array | IPCB_Polygon | IPCB_ComplexPolygon) -> number 计算复杂多边形 BBox 高度 returns: BBox 高度
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |