Thank you both for your ideas.

As all blocks but the floor in my level need to be ignored by c_trace, I'll export/import the floor as mdl entity. Then I can just use IGNORE_WORLD and trace for the floor entity.