Parametric tunnel niche

Hi,

I’ve modelled tunnel in Civil 3D and niches as one block (AutoCAD 3D modelling).

My problem is next:

The cross section of the tunnel depends on superelevation (cross section of the tunnel rotates following cross slope of the pavement).

When I array niches as blocks all along the tunnel (using Dynamo), blocks don’t fit cross section of the tunnel since they are blocks and they can’t follow superelevation.

Is it possible to model niches as parametric blocks so they could fit cross sections of the tunnel?

Create an adaptive family with two points and then get from Civil 3D right and left line of path. Then generate path in a new adaptive family. There you should divide both paths and place the new family (two points) on those paths and clone the cross section. After that you can create from.