Home > ISCH_PrimitiveArc > getState_EndY
ISCH_PrimitiveArc.getState_EndY() method
获取属性状态:终止点 Y
签名
typescript
function getState_EndY(): number;1
返回值
number
终止点 Y
示例
javascript
// 1. 创建一段测试圆弧,终点 (600, 300)(SCH 坐标单位 10mil)
const arc = await eda.sch_PrimitiveArc.create(400, 300, 500, 400, 600, 300, null, null, 6, 1);
// 2. 读取终止点 Y
const endY = arc.getState_EndY();
// 3. 清理测试图元(查询类案例不留测试对象)
await eda.sch_PrimitiveArc.delete([arc.getState_PrimitiveId()]);
console.log('endY:', endY);1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10