Hi Jeff,
One more quick follow-up:
I wanted to share a screenshot of the process I'm looking for, and if you could provide some guidance if I have the right idea for workflow.
For my purpose, I will already have a centerline alignment, an existing ground surface, and a design profile. I have a number of custom subassemblies I've created with the SAC 2017 that I would like to use. However, in the screenshot, I just ran a quick workflow test with subassemblies created from polylines.
In the screenshot, the "BL - Tube" baseline is pretty straight forward in the sense that I want it to be continuous throughout my corridor. The other baseline, "BL - Sub", has multiple regions as it will be drawing my substructure elements which are not continuous. In the screenshot, I have just one assembly I'm using there, but it will actually be an assembly that changes shape based on a surface target. As you can see, start and end station of the sub regions are 1m long. I want this distance to be input by the user.
Based on the workflow of manually doing the process for a few iterations in Civil 3D, here's what I'm thinking for the .NET workflow:
- Create corridor object from user specified alignment and profile.
- I would like to prompt the user to select the alignment and select the profile
- Get the alignment and profile
- Create the corridor
- Create first baseline for the tube
- Prompt the user to specify which assembly to use
- Get the assembly
- Create baseline for entire corridor length with the user specified assembly
- Create second baseline for the substructure components
- Prompt the user to specify which assembly to use
- This would be the conditional subassembly I've created in SAC 2017, which has a surface target
- Prompt the user to specify the start station
- Check if station lies within the alignment range
- Get station
- Prompt the user to specify the substructure thickness along the alignment direction
- Get thickness
- Side note: this would be the thickness of a column or pier or sleeper (in the alignment direction) when the solids are extracted from the corridor
- Prompt the user to specify the span length along the alignment direction
- Get span length
- Side note: this would be the discontinuity of the substructure components along the alignment (i.e. it would not show as a continuous extrusion along the alignment when the solids are extracted from the corridor)
- Create a region for the baseline
- Use the start station that was specified by the user
- Use the end station as the start station + the thickness specified by the user
- Create the next region for the baseline
- Use the previous region's end station + the span length specified by the user as the new start station
- Use the thickness specified by the user + the new start station as the new end station
- Continue creating regions for the baseline until the global end station of the alignment has been reached
- It doesn't matter to me if the end station doesn't contain a substructure element right at the last station
- Set all targets for this baseline and all regions within it
- Set all frequencies for this baseline and all regions within it
- I would like the frequency to be a maximum of the user specified thickness, preferably, at least half the thickness
- I would prefer at this point to have the corridor properties dialog box opened for inspection before rebuilding the corridor.
Sorry for the long post, but let me know what you think and if you have any suggestions. I didn't go into too much detail about the actual coding for each point, but I'll be using the tutorials and some internal PLM support as much as possible to get me through the majority of the coding.
Thanks again for your time and consideration, much appreciated!
Regards,
Ismaeel