Selection mode and hidden status detection
Hi,
A couple of questions related to the SDK with 4.0.
1. I would like to be able to detect the selection mode. One of the examples (centre.c) used "ac_get_selection". It seems to be gone in 4.0, and the nearest equivalent I can find in 4.0 is "ac_get_current_selection", but there is a "do not use" comment. Is there a way to do this in 4.0?
2. My plugins are for selecting all objects/surfaces with the same texture/material. I would like to be able to select only those objects/surfaces that are not hidden. I can see funtions to set the hidden status, but not to retrieve it. Is there a way to do this?
Thanks,
Andrew
|