hi all,
i struggle to obtain list of conduitSizes for specific conduit standart. I found class ConduitSizes in revit API docmentation (https://www.revitapidocs.com/2020/5ed94151-bec3-985c-856e-cea52c2b1a2a.htm) but i dont know how to use it. I know how to add size to specific conduit standart, how to remove size.For this I use a = collector.OfClass((ConduitSizeSettings)).WhereElementIsNotElementType().ToElements(), and then i use methods of COnduitSizeSettings Class. But when i use this approach with ConduitSizes Class i get error like this: (Autodesk.Revit.Proxy.DB.Electrical.ConduitSizesProxy) is not a recognized Revit API type
Parameter name: typ . So my question is how to get conduitsizes? and why for first class "collector.OfClass(xyz)" working and for second class get error. What is difference with this two Classes? Im new in revit API....so i wound be greatfull if someone can help me with this type of problem. I search on internet, this forum too....but with no result.