Inventor General Discussion

Inventor General Discussion

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

Inventor 2013, iLogic, Volume or Mass

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

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

 

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.

*Expert Elite*
Inv_kaos
Posts: 728
Registered: ‎07-26-2007
Message 2 of 3 (1,393 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
HenrikGraversen
Posts: 84
Registered: ‎01-22-2004
Message 3 of 3 (1,389 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"

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.