Solid.GetMass(structuralSteel, linearUnitsType.Millimeters, massUnitsType.Kilograms, out convertedDensity)

Hi,

I have a weird situation, where I have added entities to my "Desing" (Workspace), now I call Regen on all enities to generate the required data to preform a .GetMass() method on an entity(Solid), however everytime I preform this, I get the mass (this is good) but it jumps back up out of the if stament creating an infinite loop:

 

Sets weight:


Jumps right back out:

0

Comments

1 comment
Date Votes
  • Ok, this can be closed, I created the loop myself :(

    0

Please sign in to leave a comment.

Didn't find what you were looking for?

New post