Getting parameters from a list of catagories

Dear experts :slight_smile:

I have now attempted to work this problem out myself and looked through the forum without any luck.

My problem is that I have a list of all categories from my Revit model. From that list, I want all elements of the categories. And from that, I want all the classification (custom parameter) parameters of the elements.

Anyone that can help me with this?

Kind regards,

Peter