2020-08-2007:17 PM - last edited on 2022-09-2610:47 PM by Daniel Kassai
Hi fellow GDLers, I need to script an object that is only able to perform SEO operations only if it is in a visible layer. I know how to get the SEO feedback from the object. I just need to get the "visibility" feedback. Is there any global or request that tells the object that it is visible or in a visible layer? Thanks in advance,
There is a GLOB_LAYER parameter which returns the name of the Layer. Though I have never used it
Creator of Cadswift's parametric GDL libraries
Creator of Infinite Openings and Component Catalogues
Push the envelope & watch it bend
Thanks Kristian. I was aware of the GLOB_LAYER parameter. I am looking for a a way to check if the layer is on or off in the current view.
To be more clear: I am trying to create an object with a specific geometry that can be SEOed regularly, but I only want the SEO operation to be visible if the object is in a visible layer. If the layer is off, the SEO operation is not visible.
I had a hunch that this would be the answer... Just checking for some new global parameter since my GDL good old days.
Yes. The custom MVO and GLOB_SEO_TOOL_MODE can do the trick. I will give it a try.
Thanks a lot!