Simple VB6 question
Simple VB6 question
(OP)
I have a vb program to fill custom props, and I would like it to regen the drawing. What is the vb6 statement for that?
Thanks
Thanks
When was the last time you drove down the highway without seeing a commercial truck hauling goods?
Download nowINTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS Come Join Us!Are you an
Engineering professional? Join Eng-Tips Forums!
*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail. Posting GuidelinesJobs |
|
RE: Simple VB6 question
ForceRebuild will rebuild the drawing even if there are errors in it, whereas Rebuild will stop the rebuild if there are errors. To use Rebuild, you have to put some error-handling in to your code to tell it what to do when there are errors, which you may or may not want.
RE: Simple VB6 question
All
Rebuilds geometry that has not been regenerated.
swForceRebuildAll
All
Forces a rebuild of all geometry.
swUpdateMates
Assembly
Only rebuilds mates, which is much faster than rebuilding the geometry. Especially useful for Component2::Transform.
Syntax (OLE Automation)
retval = ModelDoc2.ForceRebuild3 ( topOnly )
Input:
(VARIANT_BOOL) topOnly
TRUE rebuilds the top level of assembly only; FALSE rebuilds the top level assembly and all subassemblies
Output:
(VARIANT_BOOL) retval
TRUE if the rebuild is successful, FALSE if not