- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've been stuck on this issue and i am hoping someone can help:
I created a simple V-Ditch assembly using Sub Assembly Composer, I’ve attached it for reference. My issue is with the end conditions.
My slope going away from the v-ditch must always go up (ie. Flows must drain into the v-ditch).
I want to have 4 Options for the end conditions plus a “do nothing”.
Option 1: Target existing surface going at 3% for a maximum of 10ft (called 3% Short). If existing surface is intercepted, then draw the end condition then stop. Otherwise, go to Option 2.
Option 2: Target existing surface going at 50% for a maximum of 10ft (called 50% Short). If existing surface is intercepted, then draw the end condition then stop. Otherwise, go to Option 3.
Option 3: Target existing surface going at 3% for a maximum of 100ft (called 3% Long). If existing surface is intercepted, then draw the end condition then stop. Otherwise, go to Option 4.
Option 4: Target existing surface going at 50% for a maximum of 100ft (called 50% Long). If existing surface is intercepted, then draw the end condition then stop. Otherwise, go to Option 5.
Option 5: Do nothing.
From my trouble shooting, the problem may be in the decisions. The code for the decisions is in this format “P2.DistanceTo("AP2") <10”
P2 is the edge of the v-ditch.
AP2 is an imaginary point going from the edge of the v-ditch at 3% seeking the existing surface. If AP2 does not find existing surface, then what is the distance ("value") between P2 and AP2? Infinity? Zero? Null? The decision doesn’t seem to know how to compare that "value" with the integer 10.
I would prefer to learn how to accomplish this using subassembly composer. I think the process would be useful in the future. However, if there is a simpler way in autodesk’s built-in assemblies then I am ok with that too.
Solved! Go to Solution.