Alias General Discussion

Alias General Discussion

New Member
Posts: 1
Registered: ‎05-31-2012
Message 1 of 1 (61 Views)

Application Losing Control on SelectOnScreen

61 Views, 0 Replies
05-31-2012 03:46 AM

Hello all,

i have this code, when the code is executed, after calling SelectOnScreen function, it does not throw any exception, but control path is lost and next lines in this code are not executed.




On Error GoTo ErrorHandler

Dim selSet As AcadSelectionSet


If doc Is Nothing Then Exit Sub    'doc is AcadDocument
selSet = doc.SelectionSets.Add("DocType")    

selSet.SelectOnScreen()    'Control is lost here


'Some line of code that never executes


Exit Sub


End Sub

Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.