CSM2021 Smart Packages API

In a plugin we developed for Cameo Systems Modeler(2021 Version) we are working with Smart Packages that include elements based on a defined query.

 

We are looking for a Java/Open API method to get the elements currently contained in a Smart Package — not to evaluate or resolve the query, but simply to access the elements that are already shown inside it.

 

Is there an API that supports this? We have checked various model element access points but haven’t found a way to fetch the contents of a Smart Package where elements are gathered with respect to a query.