I made a custom lane assembly. If Delta x value for the lane width is twice the value of the LaneWidth input variable, I want it to show an extra lane line at the appropriate lane width. It works great in preview. But when I tried to use it within C3D 2024, it doesn't draw the extra lane line.
For your reference, attached is my custom subassembly (download it, then rename it with a PKT extension instead of zip) as well as a copy of the test dwg file.
Here are two screen shots. In the first one, you'll see the switch statement that checks to see if the lane width (p2) is equal to 2 or 3 times the value of LaneWidth (it's built to allow for widening from 1 to 2 or 3 lanes). The preview shows that it created the point. I did this in preview mode by setting the X offset on P2 to LaneWidth*2. At run time, this is just set to LaneWidth. The transition editor within C3D is how I'm widening the lane.
Attached are the files I used for testing. After downloading them, rename the zip file with a PKT extension instead of zip.
Here's a screenshot of the dwg file. It created the widened lane but didn't create the extra lane line. Lane1 is the line that it should create no matter what the width is. Lane2 should be generated whenever the transition makes the lane width twice the value of the LaneWidth Parameter.
Can't find what you're looking for? Ask the community or share your knowledge.