Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Loops in Subassembly Composer (SAC)

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
joantopo
1356 Views, 4 Replies

Loops in Subassembly Composer (SAC)

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.

 

 

Autocad C3D 2019 SP3, 2020 & 2021
Intel I9 9900K with frontal watercooler alphacool eisbaer 360 (original fans mounted in pull)- 3 fans Corsair 120 ML PRO in push.
MOBO Gygabyte Z390 Aorus Master- Corsair RGB Vengeance 64GB RAM (4x16) CL16
Nvidia Quadro RTX 4000
Samsung 970 EVO PLUS 1TB (unit C). Samsung 970 PRO 512GB (for data)
Power Supply: Corsair TX850M PLUS


Descubre mi programa VisorNET para Civil 3D:
https://apps.autodesk.com/CIV3D/es/Detail/Index?id=appstore.exchange.autodesk.com%3avisornet_windows32and64%3aes
4 REPLIES 4
Message 2 of 5
mathewkol
in reply to: joantopo

No loops yet.
Matt Kolberg
SolidCAD Professional Services
http://www.solidcad.ca /
Message 3 of 5
joantopo
in reply to: mathewkol

Thanks.

Autocad C3D 2019 SP3, 2020 & 2021
Intel I9 9900K with frontal watercooler alphacool eisbaer 360 (original fans mounted in pull)- 3 fans Corsair 120 ML PRO in push.
MOBO Gygabyte Z390 Aorus Master- Corsair RGB Vengeance 64GB RAM (4x16) CL16
Nvidia Quadro RTX 4000
Samsung 970 EVO PLUS 1TB (unit C). Samsung 970 PRO 512GB (for data)
Power Supply: Corsair TX850M PLUS


Descubre mi programa VisorNET para Civil 3D:
https://apps.autodesk.com/CIV3D/es/Detail/Index?id=appstore.exchange.autodesk.com%3avisornet_windows32and64%3aes
Message 4 of 5
KMercier_C3D
in reply to: joantopo

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®

Message 5 of 5
Anonymous
in reply to: joantopo

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.

 

 

 

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


 

Autodesk Design & Make Report