Good day,
I have a customer who sends me solidworks models for use in inventor (2013). I always use an inch drawing format since we manufacture everything in inches here. The solidworks drawings are metric because my customers customer are all over seas companies.
Anyways, when I run my 'rule' to calculate the weight of said part (mostly small alumium) I get rediculous numbers. The part I am working on, I havent weight it myself but I am guessing no more then 10lbs. The drawing shows it as 9369.2 lbs.
I assume this is something to do with the fact that I am working from an imported metric drawing. Any way to fix this, other the working from a metric drawing (havent tried honestly).
tks!
Solved! Go to Solution.
Solved by Curtis_Waguespack. Go to Solution.
Did you change the Tools>Document Settings Units?
Did you set the Material?
Can you post a screen shot of the iProperties?
better yet - can you attach original file here?
Hello,
Did you set your imported file to be calculated in inches ?
When your model if open, go to tools --> document properties --> units --> set it to inches.
Is we speak about an imported file, maybe this have to be done in the import options (go to Open --> select your solidwork model and press the "option" button whiich should be next to "open".
I do not know of these are the exact denimanations, because I am using IV in french, but I gess i should be pretty similar. I am also using IV 2012 so it could be a little different for you but i should be enough to give you an idea,
Jhak,
I tried both ways to no avail. The Tools/doc props/units changed my weight from 9000 odd lbs to 3213 lbs, Closer, but still a little too heavy for my liking 😉 Thanks for the thought tho.
JD,
Due to the nature of the parts I cannot post them here. I dont know if it will help but I posted a combined screen shot to show the different aspects of my 'weight' calculator (which works awesome other then this instance!)
Thanks for the help thus far!
-Randy =]
Can you post screen shot of the iProperties >Physical tab.
I am curious because
and
Hi Talayoe,
If you go to the Tools tab > Document Settings button > Units tab is the Mass setting set to lbmass?
From that last screen shot it looks like it's set at grams.
To avoid this kind of confusion you might update your iLogic code to check the Units of Measure so that it does not add a suffix of lbs when that is not the current unit of mass. Or at least informs you about it.
If ThisDoc.Document.unitsofmeasure.MassUnits <> _
ThisDoc.Document.unitsofmeasure.massunits.kLbMassMassUnits Then
MessageBox.Show("The Mass for this part is not currently set to lbmass", "iLogic")
Else
End If
Also see this link for a similar example:
http://inventortrenches.blogspot.com/2012/05/ilogic-rule-to-change-units-of-measure.html
I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com
Hi Curtis,
Thanks for that link and snipit of code. Worked perfect! Down to 7.1lbs.
I could not get the checking snipit to work tho. Gives me an error as such
Error on Line 2 : 'kLbMassM' is not a member of 'Inventor.UnitsTypeEnum'.
Error on Line 2 : End of statement expected.
This one does interest me tho.
And thank you to the others who participated, as always I do appreciate your help! 🙂
-Randy
Hi Talayoe,
I suspect a copy paste issue (caused by this forum). Here is code in the attached *.txt file. You should be able to copy and paste from it without issue.
I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com
Can't find what you're looking for? Ask the community or share your knowledge.