Is it possible to switch from nodes manipulation to shape selection tool?

I need to group shapes, so sr.Group does the job. But when the user switches to nodes manipulation before running the code, this is not working anymore.

ShapeRange.Combine is working but I need to do this thru group.

I was trying to do this grouping manually but after switching to nodes manipulation, you can't select two shapes. Maby this is the reason.

Best Regards,

 Steve Wozniak