Inventor General Discussion

Inventor General Discussion

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

Inventor 2013, iLogic, Volume or Mass

1428 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,423 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,419 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
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!