English
Home > DMT_Project > getCurrentProjectInfo
DMT_Project.getCurrentProjectInfo() method
Get detailed properties of Current project
Signature
typescript
function getCurrentProjectInfo(): Promise<IDMT_ProjectItem | undefined>;1
Returns
Promise<IDMT_ProjectItem | undefined>
Project property; if it is undefined, the retrieval failed
Remarks
It will get the detailed properties of the project associated with the currently open schematic, PCB, or panel that has the last input focus
**工程树异步更新**:创建、修改、删除、复制或移动文档后读取得到旧数据时,先调用 waitForReady 等待后重试