|
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 |
|