Skip to main content
10-Marble
April 22, 2026

ProMdl as drawing ot working

  • April 22, 2026
  • 0 replies
  • 9 views

Hi, I tried this How to get Layer status of Drawing layers | Community but it is not working, if I pass the ProMdl as drawing, if you have solution can you please share the code snippet

 

 

        //ProMdl model = (ProMdl)solid;

         //ProMdl model = (ProMdl)drawing;    -→ fails here

        /* Visit layers */
        ProMdlLayerVisit(
            model,
            (ProLayerAction)LayerVisitAction,
            NULL,
            (ProAppData)&view
        );