Part and Assembly weight

Discussion in 'SolidWorks' started by darrell.tomandl, Feb 2, 2007.

  1. I was wondering if there is a way to automaticly calculate the weight
    of a part and enter it into a drawing. Also the part could change and
    so could the weight. How can I make this work? Any help is greatly
    appericated.

    Thanks in advanced,
    Darrell
     
    darrell.tomandl, Feb 2, 2007
    #1
  2. I have a macro that allows the user to select a drawing view and a block
    that we use to display the weight, and then go get the mass of the displayed
    configuration and paste that value into the appropriate note in the block.
    When I wrote it, I put in the ability to paste in the English value, the
    metric value, or the property. But at the time, there were issues with
    precisions and units and who controlled what, that didn't allow the property
    scheme to function well, and I haven't tried it since due to lack of time.
    It might be of some help to you - free for the asking.

    WT
     
    Wayne Tiffany, Feb 2, 2007
    #2
  3. darrell.tomandl

    SteveO Guest

    In the part:

    Go to File > Properties > Custom Properties
    In the Property Name field select the Weight option (it's a pulldown
    menu)
    In the Value / Text Expression field, hit the pulldown and select Mass
    - this will pull the "" variable
    Close out of the box
    No go define a material in the FeatureTree and then check the custom
    properties again. You'll both values are now updated. If you change
    the material in the FeatureTree again, they'll keep updating.

    On the drawing:

    Either edit the sheet format or just insert a note
    While editing the note, select the Link to Property button (should be
    right below the angle - it's a paper, with a hand and a yellow chain
    link)
    In the next dialog, select Model in view specified (3rd down)
    the in the pulldown you will see Material, Weight and any others you
    created in the part custom properties.

    Again, if you change the part material, the drawing will update when
    it's opened again.

    Enjoy,

    Steve O
     
    SteveO, Feb 2, 2007
    #3
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.