Hi @jakob.holmquist ,
First of all, welcome to the community!
Unfortunately I don’t have a lot of experience with Code Set Styles in Civil 3D, but I found this topic which might be interesting for you. It seems like you can extract data from these styles, from where you can do whatever you want/need to do with it:
How to reach link and shape codes in Code Set Style via Python - Civil3D - Dynamo