TheSwamp

CAD Forums => Vertically Challenged => Land Lubber / Geographically Positioned => Topic started by: kenth on October 26, 2014, 09:45:21 PM

Title: Conditional Subassembly not working as it should?
Post by: kenth on October 26, 2014, 09:45:21 PM
Pics first:
(http://i.imgur.com/uM8eaGe.png)

***

(http://i.imgur.com/BzbS3OY.png)

The pink circle in the 2nd pic is on the same point. I separated them for illustration purposes.

I have set up conditional subassembly with this logic:
1 - Test cut 0 to infinity, if true build link 1m at -50% slope
2 - Test cut 0 to 10.99, if true daylight to surface
3 - Test cut 10.99 to infinity, if true build link 7m at 100% slope, then another link, then daylight.

Why does some sections in my corridor appear as such on pic# 1?

As you can see the cut is less than 10.99 measured all ways posibble and yet it built the "10.99 to infinity" cond subassembly...

 

I tried both Civil 3D 2013 64bit and Civil 3D 2014.
Title: Re: Conditional Subassembly not working as it should?
Post by: mjfarrell on October 27, 2014, 08:43:38 AM
your logic is flawed

Quote
I have set up conditional subassembly with this logic:
1 - Test cut 0 to infinity, if true build link 1m at -50% slope
2 - Test cut 0 to 10.99, if true daylight to surface
3 - Test cut 10.99 to infinity, if true build link 7m at 100% slope, then another link, then daylight.

condition 1 and 2 overlap so you are getting what you asked for
make your conditions MORE discreet
even 2 and 3 should be more on the order of
2)  0-10.99 then
3) 10.995 to infinity....so they stand no chance of overlapping
Title: Re: Conditional Subassembly not working as it should?
Post by: kenth on October 27, 2014, 08:25:06 PM
The 1st condition is actually for the assembly to build a foreslope whenever it is in cut, then 2 or 3 will be built after 1 has been built. Hope this makes sense.
Title: Re: Conditional Subassembly not working as it should?
Post by: mjfarrell on October 28, 2014, 08:36:25 AM
still suggest you create some separation; 10.99 as upper limit for a condition 10.991 for lower limit of the next condition.

also it looks like it works on the Right side of your assembly, are you applying the same sub assemblies on that side?