Dynamic Mass Properties

Discussion in 'SolidWorks' started by Pablo, Nov 20, 2003.

  1. Pablo

    Pablo Guest

    Hi,

    Is there a way to use the center of mass coordinates to create a point
    (that would become evantually a sphere) that will be dynanically updated
    (new CG) each time that the geometry of my part or solid bodie would change?
    Thanks for your help.

    Pablo,
     
    Pablo, Nov 20, 2003
    #1
  2. Pablo

    TheTick Guest

    The only way I know of is with a macro feature. I haven't really done
    enough with macro features to tell you exactly how, unfortunatley.
     
    TheTick, Nov 20, 2003
    #2
  3. do you know visual basic or c++?
     
    Sean Phillips, Nov 20, 2003
    #3
  4. Pablo

    Pablo Guest

    Hi Sean,

    I know very little of visual basic and nothing about C++, but give me
    the basic ideas and I'll see what I can do from there, thanks.
     
    Pablo, Nov 20, 2003
    #4
  5. Pablo

    Len K. Mar Guest

    Pablo,

    Do a google search on this user group. Type in "CG Macro" and you will
    several different versions. They should provide for the basis for
    further customization if they don't do what you want.

    Len
     
    Len K. Mar, Nov 21, 2003
    #5
  6. Pablo

    Muggs Guest

    Hello Pablo,

    Try this:
    http://home.comcast.net/~muggs828/solidworks/point_on_mass_center.zip

    Open this and start suppressing features to see the CG update. The macro and
    the model must be in the same folder, and of course you'll need to be
    running SW2003 or newer version of SolidWorks, because it uses the Macro
    Feature capability.
    BTW, I would love to give credit to whoever wrote this macro but I got it
    from someone else, and there's no name in the macro. So if you're reading
    this and this is your macro, thank you, I've benifited from it.

    HTH,
    Muggs
     
    Muggs, Nov 29, 2003
    #6
  7. If I remember correctly, Mike Wilson did some Macro Feature work back when
    it came out - might be his.

    WT
     
    Wayne Tiffany, Dec 1, 2003
    #7
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.