几何尺寸与公差论坛

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

【转帖】how not to update an assembly when part is closed

[复制链接]
发表于 2009-4-12 21:11:46 | 显示全部楼层 |阅读模式
how not to update an assembly when part is closed
hi,
i am in a bit of a struggle ad hoping someone can help.
i have an assembly open and i am opening one of the parts of that assembly flattening it then folding it back up and closing the part again then showing the assembly again.
my problem is every time i close one of parts, the assembly updates so it takes along time for this to happen. i want to suspend the rebuild so no rebuilds happen while my code is running.
i found this in the api help "enableassemblyrebuild" but it does not seem to be working.
solidworks 2006,2007,2008,2009 (office premium.)
core 2 duo e6850 @ 3.00 mhz
window xp pro sp3 32 bit
ati firegl v7350
answer bret = swapp.setuserpreferenceintegervalue(swrebuildonactivation, swdontrebuildactivedoc)
solidworks 2006,2007,2008,2009 (office premium.)
core 2 duo e6850 @ 3.00 mhz
window xp pro sp3 32 bit
ati firegl v7350
quick
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-23 11:39 , Processed in 0.034994 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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