几何尺寸与公差论坛

 找回密码
 注册
查看: 673|回复: 0

【转帖】pdwworks api getspecificdocumen

[复制链接]
发表于 2009-4-12 19:14:28 | 显示全部楼层 |阅读模式
pdwworks api getspecificdocument
i'm trying to get a single docuemnt from the vault, where i now its name
useing vb express i run the following (a connection has already been established)
calling the getspecific property method does nothing -no error, and no document return
dim oldpart as pdmworks.pdmwdocument
dim newpart as pdmworks.pdmwdocument
dim prop as pdmworks.pdmwproperty
dim sz as string
on error resume next
oldpart = pdm.getspecificdocument(txtoldpart.text)
if err.number <> 0 then msgbox(err.description)
newpart = pdm.getspecificdocument(txtnewpart.text)
if err.number <> 0 then msgbox(err.description)
msgbox(oldpart.name)
answer oops - i didn't realize .sldprt was part of the name... works fine
quick
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-22 18:42 , Processed in 0.033252 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表