Hello,
I wanted to ask you one more question. For instance if I have defined two input parameters, lets say one is a double "A" and the other is grade "B".
I want to create variable which would include following equation: "B/100*A". How should I correctly write it down in SAC?
any ideas?
Solved! Go to Solution.
Solved by KMercier_C3D. Go to Solution.
In order to use the grade you will want to use ctype(B,double). This will automatically convert a 5% to be 0.05 so no need to divide by 100.
So your formula to get a double variable would be: ctype(B,double)*A
Kati Mercier, P.E. | LinkedIn | AutoCAD Civil 3D Certified Professional
Pronouns: She/Her
Co-author of "Mastering AutoCAD Civil 3D 2013"
AU2019 Speaker::: CES321590: Analyze and Revise Existing Subassembly Composer PKT Files for AutoCAD Civil 3D
AU2017 Speaker::: CI125544: Analyze and Devise in Subassembly Composer
AU2012 Speaker::: CI3001: Reverse Engineering with Subassembly Composer for AutoCAD Civil 3D
AU2011 Speaker::: CI4252: Create Subassemblies That Think Outside the Box With Subassembly Composer for AutoCAD® Civil 3D®