You may need to create whole assembly step(s), and then can use either Detach or GetAssembly to get the products to a list, which allows you to use SelectProducts to get X number of products to another list. This list can then be given to e.g. TransportOut, and rest deleted using Remove statement.