Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Inventor 2013, iLogic, Volume or Mass

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
HenrikGraversen
2482 Views, 2 Replies

Inventor 2013, iLogic, Volume or Mass

Hi,

 

I can't get Inventor 2013 show a custom iproperty correct.

My iLogic rule is this: iProperties.Value("Custom", "myvol")=volume = iProperties.Volume

 

But the custom iProperty is a Yes or No.

 

Had no problem with this in Inventor 2011.

 

Kind regards

 

Henrik Graversen

 

2 REPLIES 2
Message 2 of 3
Inv_kaos
in reply to: HenrikGraversen

I can't speak for the previous behaviour but I think the method below is better and it should give you the correct result.

 

volume = iProperties.Volume
iProperties.Value("Custom", "myvol")=volume

 I would say the double equals sign is causing it to give a boolean output.

Please mark as "Accept as Solution" if it answers your question or "Kudos" if you found it useful.
---------------------------------------------------------------------------------------------------------------------
Stew, AICP
Inventor Professional 2013, Autodesk Simulation Multiphysics 2013
Windows 7 x64 Core i7 32GB Ram FX2000
Message 3 of 3
HenrikGraversen
in reply to: Inv_kaos

Thank you 🙂

 

i added a bit more:

 

volume = iProperties.Volume
iProperties.Value("Custom", "myvol")=Round(volume, 2) &" cm/3"

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report