Hi,
I am trying to create a subasembly that can vary the width according to the value of superelevation.
Because my superelevation is varying between -2.5% and 7.0% I have three posible situations:
1)LaneGrade<=0% =>Width is 0
2)0%<LaneGrade<=4% =>Width is varying between 0 and 1 proportionaly with superelevation
3)LaneGrade>4% =>Width is 1
I don't know where I am wrong because it doesn't stop when superelevation reach 4% and continues to increase the Width above 1.
I will atach the .pkt and .dwg where I test the subasembly.
Solved! Go to Solution.
Solved by KMercier_C3D. Go to Solution.
I didn't try it in the dwg file, but change your second decision from dLaneGrade<=4 to dLaneGrade<=0.04
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®
Hi Kati,
Thank you for your prompt response. Already found that was the problem.