Inventor General

Valued Contributor
Posts: 84
Registered: ‎01-22-2004
Message 1 of 3 (1,178 Views)
Accepted Solution

Inventor 2013, iLogic, Volume or Mass

1178 Views, 2 Replies
06-18-2012 01:17 AM



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


*Expert Elite*
Posts: 728
Registered: ‎07-26-2007
Message 2 of 3 (1,173 Views)

Re: Inventor 2013, iLogic, Volume or Mass

06-18-2012 01:52 AM 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
Valued Contributor
Posts: 84
Registered: ‎01-22-2004
Message 3 of 3 (1,169 Views)

Re: Inventor 2013, iLogic, Volume or Mass

06-18-2012 02:05 AM in reply to: Inv_kaos

Thank you :-)


i added a bit more:


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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community

Inventor Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for Autodesk Inventor helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Inventor