Bentley Communities
Site
Search
User
Site
Search
User
Welcome to Bentley Communities
Bentley's Communities
Bentley 中国优先社区
Cancel
Bentley 中国优先社区
◆ 二次开发(MicroStation编程, ProjectWise编程等)
已知文件的docGUID,怎么样能够获取到lProjectId和lDocumentId
Sign In
Bentley 中国优先社区 requires membership for participation - click to join
State
Verified Answer
+1
person also asked this
people also asked this
Replies
2 replies
Subscribers
80 subscribers
Views
1068 views
Users
0 members are here
ProjectWise编程二次开发
ProjectWise
已知文件的docGUID,怎么样能够获取到lProjectId和lDocumentId
Offline
hellen yang
over 4 years ago
已知pw上一个dgn文件的docGUID="8ee2d4ae-f4b8-4336-b70f-be384478c1c9",请问通过什么方法能够获取这个文件的lProjectId和lDocumentId?
Top Replies
Offline
lijun.ma
Fri, Jul 12 2019 3:37 AM
+1
verified
PW SDK有个函数aaApi_GUIDSelectDocument( LPCGUID pDocGuid ),传入自己的GUID,再通过aaApi_GetDocumentNumericProperty得到需要的信息。