I’ve been working on the attached graph for a while now and finally decided to ask for help please.
I am using @Paolo_Emilio_Serra1 Civil3DToolkit package to get the Section views Station Range per Layout. The end goal is to rename the layouts with STA Start to STA End
I have so far figured out the Viewport boundary in Modelspace and intersected it with the section views. so I got a list which determines which station sections is in which Viewport. But I can not figure out how to map it back to determine which viewport is in which layout! especially because the dwg file may have plan layouts, blank layouts or layouts with multiple viewports, so the list of my viewports is not equal to the list of layouts.
attached is my test drawing and the working graph; I know it may take a little while to read my graph but any help is greatly appreciated, thanks