English
Home > ISCH_SourcePrimitiveComponentAddOptions
ISCH_SourcePrimitiveComponentAddOptions interface
器件放置选项
Signature
typescript
interface ISCH_SourcePrimitiveComponentAddOptions extends ISCH_SourceIdentity1
Extends: ISCH_SourceIdentity
Remarks
x / y 是器件锚点,不是外形中心,也不含引脚长度与引线; 放置前应先用 LIB_Symbol.getGeometry() 读取符号外形包围盒与引脚连接点相对坐标, 再据此计算锚点、避让与引出线方向
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
string | (Optional) 位号,省略则由内部按现有规则分配 | ||
string | 器件所属库 UUID | ||
boolean | (Optional) 是否镜像,缺省为 | ||
string | 器件名称,在库内唯一 | ||
{ [key: string]: string } | (Optional) 业务属性键值表,整表覆盖式写入 | ||
number | (Optional) 旋转角度,缺省为 | ||
string | (Optional) 多 Part 器件的部件标识 | ||
number | 器件锚点 X 坐标 | ||
number | 器件锚点 Y 坐标 |