AutoCAD Civil 3D
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Subassembl y Composer Conditiona l SA
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
So C3D has a couple of conditional subassemblies. They test a condition and if it passed, the SA is allowed to continue. If it fails, the SA stops and no SA's that follow are processed. I can do this in VB.Net, but there doesn't seem to be a way (or I can't find the way) in the SAC.
Anyone have any tips on how/if this can be done?
My intended use is like the Conditional Cut and Fill, except my new SA checks the cut/fill height along the slope (Intended) to daylight instead of vertically from the insert point (Built-In). I don't want anything drawn, like the built-in conditionals, I just want the test to pass or fail and allow the user to place SA's after this condition.
Thanks.
Cansel - Autodesk Division
http://www.cansel.ca/
Re: Subassembl y Composer Conditiona l SA
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Matt,
Check out the help WIKI in Subassembly Composer for how to do this. There is a section under "Common Workflows" on Adding Conditional Behavior to a Subassembly that shows how to do this. The key is the use of the Auxiliary points and links to make the tests. The SAC is far more powerful than the generic links are when it comes to conditionals.
There are also some example PKT files as part of the WIKI to help get you started.
Cheers,
Peter Funk
Autodesk, Inc.

Peter Funk
Autodesk, Inc.
Re: Subassembl y Composer Conditiona l SA
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
If you can show me how to use the SAC to duplicate the conditionalcutfill, I will be able to modify it for my use.
I hope I've explained it well enough.
Cansel - Autodesk Division
http://www.cansel.ca/
Re: Subassembl y Composer Conditiona l SA
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
A sub that can test along a slope has been on my personal wish list since the '06 version. Hopefully this thread will lead to wish fulfillment ![]()
Re: Subassembl y Composer Conditiona l SA
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Matt,
This can't be done with SAC right now because we don't have a way to stop processing of a branch. We are looking at ways that this could be done in the future.
Steve,
There are lots of things you could do with the SAC. If you share a picture of what you are thinking about I'd be glad to get you moving in the right direction. We've tried to make the tool so that anyone can make subassemblies to meet their specific needs.
Cheers,
Peter Funk
Autodesk, Inc.

Peter Funk
Autodesk, Inc.
Re: Subassembl y Composer Conditiona l SA
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Cansel - Autodesk Division
http://www.cansel.ca/
Re: Subassembl y Composer Conditiona l SA
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Cansel - Autodesk Division
http://www.cansel.ca/
Re: Subassembl y Composer Conditiona l SA
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Im waiting for "stop processing" events in the SAC too.
Re: Subassembl y Composer Conditiona l SA
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hello Steve
In an update to my AU2008, for my AU2009 presentation I had created a "ConditionalSlope" subassembly, although the goal for this subassembly was to utilize subassemblies for lot grading, it may work for you.
Unfortunately I have not updated the code for C3D2013.
I only stumbled onto this discussion because I was considering rewriting my paper to demonstrate how to create the subassembly using SAC , and thus eliminating the need for Vb.net skills.
Here is the link to my AU2009 presentation.
http://au.autodesk.com/?nd=class&session_id=5341
Re: Subassembl y Composer Conditiona l SA
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi Malcolm,
Reading through your course materials, I don`t think that your sub would do what I want. My scenario is similar to the one that Matt posted originally, where a sliver cut or fill situation results from a daylight slope that is near parallel to the existing ground.
Essentially what I need is a version of the ConditionalCutorFill sub which tests the height to a surface measured along a projected slope, rather than vertically up or down from the insertion point.
I believe that the behaviour of at least one of the OOTB daylight subs has been changed in recent versions of the software to act this way, but I really need a Conditional sub for complex scenarios.



