I am using Inventor 2010 (I know this is my first problem, but you have to use what you're given!) and I need to use the sheet number in a calculation that will display the result in a text box. =((<SHEET NUMBER>-1)8)=1 displays a result of ((11-1)8)+1. I suspect that the sheet number is being brought in as text instead of a number. I tried adding atoi to the equation to convert the sheet number to an integer, but it did not work.Is there an alternate source for the sheet number that will return a number? Is my syntax wrong?
Thank you in advance for your kind assistance!
@Anonymous wrote:I am using Inventor 2010 (I know this is my first problem, but you have to use what you're given!) and I need to use the sheet number in a calculation that will display the result in a text box. =((<SHEET NUMBER>-1)8)=1 displays a result of ((11-1)8)+1. I suspect that the sheet number is being brought in as text instead of a number. I tried adding atoi to the equation to convert the sheet number to an integer, but it did not work.Is there an alternate source for the sheet number that will return a number? Is my syntax wrong?
Thank you in advance for your kind assistance!
Welcome!
Your syntax looks right... I just don't know that you can create equations in Inventor's text tool. May I ask what you are trying to get from this? The resulting text does show the sheet number.... it just doesn't do anything with it in terms of the equation. A search on the Wiki Help shows no results for equations in Inventor text.
Chris Benner
Inventor Tube & Pipe, Vault Professional
Cad Tips Tricks & Workarounds | Twitter | LinkedIn
Autodesk University Classes:
Going With The Flow with Inventor Tube and Pipe | Increasing The Volume with Inventor Tube and Pipe | Power of the Autodesk Community | Getting to Know You | Inventor Styles & Standards |Managing Properties with Vault Professional | Vault Configuration | Vault - What is it & Why Do I Need It? | A Little Less Talk - Tube & Pipe Demo | Change Orders & Revisions - Vault, Inventor & AutoCAD | Authoring & Publishing Custom Content