You might observe that when calling acedSSGet (L"_I", …) the function always return an empty selection set?
This typically happens because acedSSGet (L"_I", NULL, NULL, NULL, ss); works only in command that invoked it is an ARX defined command and supports the PickSet selection option. Your ARX application should register a command by using the optional ACRX_CMD_USEPICKSET and ACRX_CMD_REDRAW flags. The following code is an example, generated by the ObjectARX wizard:
//——————————————————————-
IMPLEMENT_ARX_ENTRYPOINT(CMyTestApp)
ACED_ARXCOMMAND_ENTRY_AUTO(CMyTestApp, asdkMyTest, _MyCommand, MyCommand,
ACRX_CMD_MODAL | ACRX_CMD_USEPICKSET | ACRX_CMD_REDRAW, NULL)

Leave a Reply