几何尺寸与公差论坛

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

【转帖】copydocument in swdm

[复制链接]
发表于 2009-4-12 20:31:49 | 显示全部楼层 |阅读模式
copydocument in swdm
hey all,
here's the problem:
im using
errout = swdocmgr.copydocument(sdocfilename, snewdocfilename, vdependarr, vdependnamearr, 0, swsearchopt)
to copy an assembly to a new directory and at the same time changing name of the assembly and all of the parts that belong to it. it all works good but the problem is that sometimes the computer "freezes" for a minute or two while running that command.. if i at the same time check windows explorer i can see that the files are already copied and in place in the new directory... i cant understand why it takes so long time, i've been experimeting with swsearchopt but havent really understood what it does... any help is appriciated!
edit: might answer my own question ... it takes time because sw has to go through all the files and update references i think..
edited: 02/19/2009 at 08:36 am by johan eliasson
i would guess that you've answered your question correctly. references can't really be updated until after the files are copied.
i'll get you eh steve, if it's the last thing i dooooo!
quick
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-23 04:33 , Processed in 0.034631 second(s), 20 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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