rs.LastCreatedObjects() returns None but SelLast works

Hi guys, I need to get the last created object in the same manner that SelLast works, but rs.LastCreatedObjects() returns None while SelLast selects those objects, are there any workarounds?

Hey Jørgen,
Had this happen a few times too… ended up just scripting
rs.Command(“SelNone SelLast”)
:stuck_out_tongue_winking_eye:

Thanks, yeah, that was what I did too, but I didn’t find it sazzy… :wink:

Although for anybody in the future that might stumble upon this, here is what I did:

rs.EnableRedraw(False)
rs.UnselectAllObjects()
rs.Command("_SelLast", False)
selLast=rs.SelectedObjects()
rs.UnselectAllObjects()
rs.EnableRedraw(True)