How can I get entlast object from API

Is there any way to access the last object create with RunCommand

Like this example:

    strCmd = "_arc "
    strCmd = strCmd & Replace(CStr(p1(0)), ",", ".") & "," & Replace(CStr(p1(1)), ",", ".") & "," & Replace(CStr(p1(2)), ",", ".") & " "
    strCmd = strCmd & Replace(CStr(p2a(0)), ",", ".") & "," & Replace(CStr(p2a(1)), ",", ".") & "," & Replace(CStr(p2a(2)), ",", ".") & " "
    strCmd = strCmd & Replace(CStr(p3a(0)), ",", ".") & "," & Replace(CStr(p3a(1)), ",", ".") & "," & Replace(CStr(p3a(2)), ",", ".") & " "
    resRunCmd = g_acadDS.acad.RunCommand(strCmd, True)

I would like to select this arc !

Thanks for any help

by André de Souza Pinto

We have premium license MAQUINAS SANMARTIN LTDA BRASIL