Re: Mates breaking?



> CTRL-Q does a forced rebuild. It regenerates the feature tree from top
> to bottom.

This is sometimes limited in assemblies. In particular, subassemblies
frequently aren't rebuilt (even with ctrl-Q) until the next time the parent
assembly is loaded. This is why some mate errors don't crop up until a
reload, or are resolved when the assembly is next loaded. However, it can
be done via a macro. I stumbled onto this a while ago. Sometimes it bails
me out.

'forces rebuild of top assembly and all subassemblies

Dim swApp As SldWorks.SldWorks
Dim Model As SldWorks.ModelDoc2
Sub main()
Set swApp = Application.SldWorks
Set Model = swApp.ActiveDoc
Model.ForceRebuild3 (False)
End Sub
.



Relevant Pages

  • Re: Mates breaking?
    ... This looks like what CTRL-Q is supposed to do. ... >> CTRL-Q does a forced rebuild. ... > This is sometimes limited in assemblies. ... > Set swApp = Application.SldWorks ...
    (comp.cad.solidworks)
  • Re: Debugging 3rd party (or Microsoft) assemblies
    ... debugging 3rd party components. ... may occur within that 3rd party component. ... disassemble the 3rd party assembly and then rebuild it with debug ... don't have to rebuild a large tree of assemblies. ...
    (microsoft.public.dotnet.general)
  • Re: solidworks2006 vs inventor11
    ... that I would save an assembly, be sure to rebuild etc. and that there ... the project the next time that there would be little red flags, ... always involving some constraint problem that didn't not show up before ... assemblies the more problems that I have seen with IV. ...
    (comp.cad.solidworks)
  • Re: SerializationException: Cannot find the assembly... - Wrapper.zip [1/1]
    ... >> client is called FooClient and connects to FooServer. ... >> the server. ... >> class that existed in two different assemblies instead ... I can rebuild and change ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: Auto Increment Version in VB 2005
    ... I agree with his statement 99%, especially when you don't rebuild all ... related projects at the same time. ... You want the referencing assemblies to break if you make ... Is also a bug waiting to happen, if you make a "material" change in one ...
    (microsoft.public.dotnet.languages.vb)

Loading