This is a stupid and easy question for sure, but I don´t know much about VB. After import some cad documents, I need to delete some layers, inside the same VB.net comp. I really don´t need to declare another input for that layernames (that would be much better), I only need to script inside that names. How can I get this?
If( Not Open ) Then
ids_tree = m_ids_tree
Return
End If
If Open Then
app.RunScript("-_import " & sFileName & " _Enter")
app.RunScript("-_SelNone ")
app.RunScript("-_SelLayer " & ???????(select certain layers by name)??????????? & " _Enter")
app.RunScript("_delete")
End If

Tags: