Community
Alias Forum
Welcome to Autodesk’s Alias Forums. Share your knowledge, ask questions, and explore popular Alias topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Getting layer status in Alias API

1 REPLY 1
SOLVED
Reply
Message 1 of 2
sgeggie
565 Views, 1 Reply

Getting layer status in Alias API

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.

Tags (1)
1 REPLY 1
Message 2 of 2
sgeggie
in reply to: sgeggie

The solution was to use AlUniverse::creationLayer() rather than isPicked.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report