Select last object

I want to create a plane, give it a name, create a layer with the same name and change the new plane object to the new layer, not necessarily in that order.

See if this example is helpful (or not…):

https://github.com/dalefugier/SampleCsCommands/blob/master/SampleCsNamedPlaneSurface.cs

Thx, Dale. Just what I needed.