Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! 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).