We had something similar a few month ago. I think the conclusion was that it is not really possible in kicad at the moment. The solution i think was to create two separate pcb files. (one for the flexible part and one for the rigid part)
I would suggest you read this topic: