Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
I tried all apis
ProMdlLayerVisit
ProMdlLayersCollect
I would expect more reports about this, if there was a general limitation of ProMdlLayerVisit() in drawings.
It should return all layers, hidden or not in all modes (where layers exist).
Of course the layer labeled "Hidden items" will not be returned, as it is used for the hide/Unhide mechanism.
Also make sure whether a layer of the expected name actually exists in the drawing (in the UI layers from models are also listed).