I need to have my corridor use one of three links based upon the distance to a target alignment. If the alignment is less than 2' away, use Link1, if the alignment is between 2' & 3' away, use Link2 and if the alignment is more than 3' away, use Link3.
But my corridor wasn't doing this as I expected. So I've tried to do this in a separate test file (attached). In the first image, you can see the target alignment starts out at 2' from the corridor alignment and ends at 4' from the alignment. Which I means that in this case the "less than 2ft" conditional should NEVER be true. As you can also see, the ONLY featureline that is actually generated is the one at 10 which should ONLY be generated when the "less than 2ft" conditional is true.
The second image shows the assembly in question.
Any ideas?
Don Ireland
Engineering Design Technician
Solved! Go to Solution.
Solved by fcernst. Go to Solution.
Solved by Jay_B. Go to Solution.
As you can also see, the ONLY featureline that is actually generated is the one at 10 which should ONLY be generated when the "less than 2ft" conditional is true.
Because all of your targets are set to the baseline alignment.
Don,
The attached file has the Corridor baseline following Alignment (2) and the targets are also set to target Alignment (2) ?
@fcernst wrote:
As you can also see, the ONLY featureline that is actually generated is the one at 10 which should ONLY be generated when the "less than 2ft" conditional is true.
Because all of your targets are set to the baseline alignment.
The CONDITIONALs are targeted to the same alignment -- otherwise it doesn't know which alignment to test against. The actual links aren't set to target anything so they should use the widths as defined.
EDIT: Now I see what you meant Fred, they were targeting the same alignment that the corridor was using. I thought you were telling me to look at the actual links expecting to see THEM targeting the alignment. Sorry and thanks.
Don Ireland
Engineering Design Technician
@Anonymous wrote:
Don,
The attached file has the Corridor baseline following Alignment (2) and the targets are also set to target Alignment (2) ?
Well that was a duh! moment on my part. Ok so I changed the targets to Alignment (1) and did get closer. The false condition fails (I get NOTHING when the distance is greater than 3'.
Updated file is attached.
Don Ireland
Engineering Design Technician
The assembly is not built correctly (you can easily see that if you collapse the Assembly tree), and you don't have all the required conditional targets set.
Can't find what you're looking for? Ask the community or share your knowledge.