Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Sebmarshall

    GetCOG in SPA Workbench gives empty result

    Hello After some tests, I found the issue. The code was working on some computer and not some other. Removing the bracket make it work everywhere. I now have : objMeasurable.GetCOG Coords Instead of : objMeasurable.GetCOG (Coords) Thanks for your help.
  2. Sebmarshall

    GetCOG in SPA Workbench gives empty result

    Hello The "manual" measurement works well for every body at first level. GetCOG fails for all the bodies from all the part in the product. The macro manages switch to "design mode" and switch back to "visualization mode" for each instance of the product, this is done in the main sub which is...
  3. Sebmarshall

    GetCOG in SPA Workbench gives empty result

    Hello Cthulhu Yes, measurement is fine with standard tool in 3D, this what I use to do to check the results from the macro. My macro gives wrong result because it calculates with 0 when getCOG is empty
  4. Sebmarshall

    GetCOG in SPA Workbench gives empty result

    Hello I am trying to create a VBA macro to have an analysis of assembly mass and center of gravity, by checking each part body from each part in the assembly. The part analysis is made by a sub called from the main one which is working from the assembly. The macro only make calculation for...

Part and Inventory Search

Back
Top