Community
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Robert-" <Hello,
href="mailto:robertschar@erdmannsoftware.com">robertschar@erdmannsoftware.com>
wrote in message
href="news:f179ffa.-1@WebX.maYIadrTaRb">news:f179ffa.-1@WebX.maYIadrTaRb...
I want to highlight and grip some entities. I created a test command
which should highlight and grip the last added entity of the acad database.
Here is the code:
ads_name SelName;
int b = acedSSGet("L",
NULL, NULL, NULL, SelName);
long len;
acedSSLength(SelName,
&len);
int a = acedSSSetFirst(SelName, SelName);
acedSSGetFirst
succeeded, but acedSSSetFirst returns always 5001 (error). Why?
In
addCommand of this command the two important flags ACRX_CMD_USEPICKSET |
ACRX_CMD_REDRAW are set.
Hope somebody could help me!
with kind
regards,
Robert