Hi.
Can we do loops in Subassembly composer?
For example:
Do while (VALUE)
{
L1=L1.Length-tolerance
}
VALUE= SurfaceTarget.IsValid or *.HasIntersection (boolean)
tolerance is a input var with default value = 0.05 meters.
For example, check if projection slope intersect with surface.
P3=Slope is defined as (Intersection: LinkPointSlope) from P2.
Solved! Go to Solution.
Solved by mathewkol. Go to Solution.
Thanks.
As Matt noted, there are no loops. But if you can provide a bit better of a description of what you are trying to do (a sketch always helps) there may be an efficient way to solve without loops.
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®
I too would love to see this added to SAC. Taking it to the next level.
There is a video by P. Funk at AU, same question asked there.
Apparently ADesk is concerned that an inexperienced developer may create an endless loop. Understandable concern.
There is consideration that maybe create a range where the program will exit when the loop reaches a maximum.
I guess maybe some sortof parameter in the for loop that the developed must enter.
I guess, wish list item. I am waiting so I can develop a conditional subassembly.