几何尺寸与公差论坛

 找回密码
 注册
查看: 674|回复: 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:47 , Processed in 0.036023 second(s), 20 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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