Inventor General Discussion

Inventor General Discussion

Reply
Valued Contributor
84 Posts
1 Kudo
Registered: ‎01-22-2004
Post 1 of 3
Accepted Solution

Inventor 2013, iLogic, Volume or Mass

1475 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*
728 Posts
18 Kudos
Registered: ‎07-26-2007
Post 2 of 3

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
84 Posts
1 Kudo
Registered: ‎01-22-2004
Post 3 of 3

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
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!