How to use a product model as a black-box functional component in a project via REC/RPL?

Hello everyone,

I’m working with a product line approach in Capella. I have a product model that I reference as a Capella library in my project model.

In the project, I would like to instantiate this product via a REC/RPL, but only as a black-box functional component.
That is, I would like to import only the exposed system functions of the product (defined in the product model), without exposing its internal structure or subcomponents in the project.

Currently, when I perform a REC/RPL on the product, I get all of its internal components and structure, whereas I only want the functional interface of the product to appear in the project.

Is there a way to selectively instantiate only the top-level component with its functions (without its internal parts)?
Or would it be better to define a dedicated REC in the product model that includes only the exposed functions and the root component?

Thank you in advance for your help!

Best regards,
Valentin