I'm looking for a way to select corridor targets by layer such that if you were to add a target-able object (polyline, 3d polyline, feature line, survey figure) to that layer after you set your targets, that new object would be recognized by the corridor as a target? In other words, I'm looking for a way to have corridor targets determined by layer rather than by object.
I've been thinking that this is probably not possible without some custom code, but if anyone knows a way to obtain such a capability by flipping some switch hidden deep in the caverns of Civil 3D, I'd love to know about it. Otherwise, I'd like to know whether there's already some kind of code-based solution out there. If not, I think I will try to write something myself, but it'd be nice to save myself some time if I could.
That type of functionallity requires custom coding (confirmed by ADN staff). We have a few subassemblies that do that type of thing but the user is required to manually start a corridor rebuild to pick up entities on new layers in the active file or xrefs. Civil 3D wouldn't trigger off a corridor rebuild just by adding a layer but custom code could be written that detects when an entity is added and detect wether a corridor should be rerun.
Mike,
Thanks for the reply, sorry for my delay in responding.
I'm not that concerned about having the corridor rebuild itself every time an entity is added...it'd just be nice not to have to keep defining targets. Can you tell me more about the subassemblies that have this kind of functionality...can I access/download them, or if not, is it possible to create this kind of functionality through Subassembly Composer?
I would think this type of functionallity would not be possible via SAC, we created ours using .NET programming.
If you have someone that is familiar with programming, I can make the source code available (requires a little paperwork to protect ourselves).