I creates a custom iProperty parameter called MassProp. The value is the formula "=<Mass>." However, I notice the value is calculated in kilograms even though the Document Setting Units are in lbmass. How do I make it calculate in lbs.? I tried "=<Mass>*2.20462" and that didn't work.
Solved! Go to Solution.
I creates a custom iProperty parameter called MassProp. The value is the formula "=<Mass>." However, I notice the value is calculated in kilograms even though the Document Setting Units are in lbmass. How do I make it calculate in lbs.? I tried "=<Mass>*2.20462" and that didn't work.
Solved! Go to Solution.
Solved by johnsonshiue. Go to Solution.
Hi Brent,
Indeed, "<Mass>" returns mass in gram, as opposed to document unit. To convert the unit, you will need to use an iLogic rule. Or, you can do the unit conversion automatically on the PartsList in the drawing.
Many thanks!
Hi Brent,
Indeed, "<Mass>" returns mass in gram, as opposed to document unit. To convert the unit, you will need to use an iLogic rule. Or, you can do the unit conversion automatically on the PartsList in the drawing.
Many thanks!
I've only dabbled in iLogic. I found some basic tutorials online that I tried quite a while ago, but I've never been able to put it to any practical use. To say my knowledge of iLogic is basic would be an overstatement. If anyone can write such a function that johnsonshiue suggests or guide me through it, I'd be eternally grateful. Ultimately, this will be in the Vault Items BOM table. Thanks!
I've only dabbled in iLogic. I found some basic tutorials online that I tried quite a while ago, but I've never been able to put it to any practical use. To say my knowledge of iLogic is basic would be an overstatement. If anyone can write such a function that johnsonshiue suggests or guide me through it, I'd be eternally grateful. Ultimately, this will be in the Vault Items BOM table. Thanks!
Hi Brent,
It is not that hard. I probably know iLogic a tip bit more than you. Here is the simple rule to make it happen. "MyMass" is the custom iProperty for mass. The mass value obtained this way is based on Doc Unit.
You can either make it an external rule and reference it, or add this rule to the ipt/iam file.
iProperties.Value("Custom", "MyMass")=iProperties.Mass
Many thanks!
Hi Brent,
It is not that hard. I probably know iLogic a tip bit more than you. Here is the simple rule to make it happen. "MyMass" is the custom iProperty for mass. The mass value obtained this way is based on Doc Unit.
You can either make it an external rule and reference it, or add this rule to the ipt/iam file.
iProperties.Value("Custom", "MyMass")=iProperties.Mass
Many thanks!
is that option is working in Inventor 2024
is that option is working in Inventor 2024
Hi! The workflow has not been changed. Please share an example that exhibits the defective iProperties behavior. I would like to understand it better.
Many thanks!
Hi! The workflow has not been changed. Please share an example that exhibits the defective iProperties behavior. I would like to understand it better.
Many thanks!
Can't find what you're looking for? Ask the community or share your knowledge.