Example of Civil 3D Conditional Subassembly for Targeting Buildings/Fences at random locations
In Section3D, you do not have to create or edit the corridor targeting/region tables. The alignment along the outlines of individual discontinuous buildings/fences can be turned off (invisible), and whatever is outside the sampleline boundary will be ignored.
Section3D Solution - Targeting discontinuous objects such as Buildings and Fences - Part A
Section3D Solution - Targeting discontinuous objects such as Buildings and Fences - Part B