I have selected one line of a drafting view, how to get the view in which the line exists?
it shows in information window, but I am not getting any suitable API for it.
Note that- it's not a sketch line, it's a line generated from modelling to drafting.
please find the attachment to get clarification.
Solved! Go to Solution.
I've not tested it, but the .AskViewDependentStatus method may come in handy here.
See this code from GTAC:
The function doesn't do exactly what you are asking for, but it shows how to call the .AskViewDependentStatus method along with a few other methods that you might find useful.