According to the docs acedSSNameX() returns the selection mode between 0 and 5 in the first resbuf.
I picked an entity within a GROUP during a selection with acedSSGet(_T("_:N"),NULL,NULL,NULL,sset);
acedSSNameX() returned the selection mode 1 (pickpoint selection) for the picked entity.
For the other entities in the GROUP it returned 9!
Does 9 mean "selected because of GROUP membership"?
Are there more possible values beyond 5? Where are they documented?
Cheers
--Thomas
Thomas Brammer ● Software Developer ● imos AG ● LinkedIn ●
If an answer solves your problem please [ACCEPT SOLUTION]. Otherwise explain why not.
Solved! Go to Solution.
Solved by owenwengerd. Go to Solution.
Here's the complete list from adsdef.h:
enum SelectorType { SELECT_TYPE_FREE = 0, SELECT_TYPE_PICK, SELECT_TYPE_WPOLY, SELECT_TYPE_CPOLY, SELECT_TYPE_FENCE, SELECT_TYPE_SUBENTITY, SELECT_TYPE_BAG, SELECT_TYPE_LAST, SELECT_TYPE_LEAF, SELECT_TYPE_GROUP, SELECT_TYPE_PASTE, SELECT_TYPE_HATCHASC, SELECT_TYPE_NRVP, SELECT_TYPE_OCCLASS };
Cool. Thanks.
So we have SELECT_TYPE_GROUP=9. That makes sense.
Are the other values documented?
SELECT_TYPE_BAG,
SELECT_TYPE_LAST,
SELECT_TYPE_LEAF,
SELECT_TYPE_PASTE,
SELECT_TYPE_HATCHASC,
SELECT_TYPE_NRVP,
SELECT_TYPE_OCCLASS
Cheers
--Thomas