Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! 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).