ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

acedSSNameX() returns selection mode 9 with GROUPs

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
tbrammer
664 Views, 2 Replies

acedSSNameX() returns selection mode 9 with GROUPs

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 AGLinkedIn
If an answer solves your problem please [ACCEPT SOLUTION]. Otherwise explain why not.

2 REPLIES 2
Message 2 of 3
owenwengerd
in reply to: tbrammer

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
};

 

--
Owen Wengerd
ManuSoft
Message 3 of 3
tbrammer
in reply to: tbrammer

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


Thomas Brammer ● Software Developer ● imos AGLinkedIn
If an answer solves your problem please [ACCEPT SOLUTION]. Otherwise explain why not.

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

Post to forums  

Autodesk Design & Make Report

”Boost