I'm using the Alias API to retrieve model data from .wire files. I have a file here with two layers, the empty default layer and another layer, "what", which contains geometry. "what" is set to be invisible, but is currently selected in Alias.
Using the API, I can detect that "what" is invisible with the AlLayer::invisible() method. However, the AlLayer::isPicked() method always returns false. So even though the geometry is visible in Alias (due to its layer being selected), I cannot detect this with the API. I have attached the file.
Is there some other way to detect that this geometry is currently visible in Alias, despite having a layer with "invisible" status?
Thanks in advance.
Solved! Go to Solution.
Solved! by sgeggie. See the answer in context.
The solution was to use AlUniverse::creationLayer() rather than isPicked.
Access a broad range of knowledge to help get the most out of your products and services.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.
Upgrading to a 2015 product? Make sure to check these out 1st!