Home > DMT_Schematic > reorderSchematicPages
DMT_Schematic.reorderSchematicPages() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
重新排序原理图图页
Signature
typescript
reorderSchematicPages(schematicUuid: string, schematicPageItemsArray: Array<IDMT_SchematicPageItem>): Promise<boolean>;
1
Parameters
Parameter | Type | Description |
---|---|---|
schematicUuid | string | 执行排序的图页所关联的原理图 UUID |
schematicPageItemsArray | Array<IDMT_SchematicPageItem> | 所有原理图图页属性的数组 |
Returns
Promise<boolean>
排序操作是否成功
Remarks
此处源原理图图页属性的数组需要通过 DMT_Schematic.getAllSchematicPagesInfo() 或其它上游方法取得,完成数组排序后传入