How to create projection material with geometry but full transparent render?

Hello, I am trying to reproduce the following behaviour:
With replicator, I create a cube with visible argument as False and a project material with an image in the albedo input that will generate a mask in semantic segmentation. For some reasons like the render could be different from the mask (example that render contains transparency that mask doesn´t) I would kile to achieve is that project material only generates data for the semantic segmentation but without being rendered (of renderer full transparent keeping the geometry generated by the shader, if this is possible).

I have tried multiples combinations and configuration modifying the project PBR material shader and I am not able to get a geometry based on the mask, full transparent that generates data into semantic window.

Could you help me with this?

@dt_developer i am just another user, and although an old thread explored something you are looking for but it’s not using project materials. that said, wanted to throw that out there in case it has something that might offer something of relevance:

there was, however, another thread on project materials where the use case may be more in line with what you are after; however, it seems like the dev/mod also has mentioned such approach (invisible to RGB but visible to segmentation) is something of a challenge?

Thanks for your response @Simplychenable . I have already checked the second thread you mentioned, and as you said, it seems that currently is not possible to perfomr this without a 2 step replicator iteration (which is what I would like to avoid).
The first thread shows kind of another 2 step solution but maybe withing the same iteration? (at least the global iteration although the solution has two set two times the environment.
Anyway I will have a look on that solution in the meanwhile another solution fo the source question.
I guess that if it could be possible for a PBR projection material that geometry would had been modified within the shader with the opacity but renders also use a full transparent material, would be the solution (in case the semantic segmentation render would not need anything else like shadows)

Hope on that kind solution