I have built a curb return subassembly using the composer.
I have an intersection corridor.
The subassembly runs along the ETW Baseline (Curb Return).
When I build an intersection, I want the lane of this subassembly to target the center of both roads, finding the nearest target.
For some reason, when I add 2 Alignment targets, the subassembly will not recognize more than one lane width target. It will target the first target selected, but that's it.
I have tried this with other subassemblies OOTB without issue, so I know it's something to do with the SAC subassembly.
Do I need to define something in SAC to allow multiple targets? Or is this a limitation?
One method that should work:
Add the two target offset parameters (one for each center line)
Generate an auxiliary point at each target
Use a decision to find which target is closer (ap1.offset>ap2.offset)
On each side of the decision use the target that is closer (ap2 on true and ap1 on false)
Depending on how you set up the subassembly logic you may also need to check whether a target is valid (incase there is a scenerio where the user may only be selecting 1 alignment and not 2).
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register