I don't know yet how use a selection set with sendStringToExecute,
but i found how use a handle !!!
For information :
CString strCmd;
char handleStr[255];
blockId.handle().getIntoAsciiBuffer(HandleStr);
strCmd.Format( "_eattedit\n(handEnt\"%s\")\n", handleStr );
acDocManager->sendStringToCommand
(
acDocManager->curDocument(),
strCmd
);
"Geoffrey BAUDIN" a écrit dans le message de
news:4100e0d7_3@newsprd01...
> Sorry But, the use of RTENAME doesn't solve my problem.
> instead of acedCommand (RTSTR, "_explode", RTPICK, myselection, RTNONE );
> i forget than i could use AcdBBlockReference::ExplodeToOwnerSpace()
>
> with the sendStringToExecute command, can i use a selectionset ??
>
>
>
> "Randy Sanders" a écrit dans le message
> de news:41000b76_3@newsprd01...
> > I think (maybe wrong), but these commands will only work with a single
> > object, not a RTPICK. Try it with one RTNAME. The explode command works
> with
> > a set, but only since 2000 (I think). The acedCommand version still only
> > allows one object to maintain compatability with older apps.
> > "Geoffrey BAUDIN" wrote in message
> > news:40ffc8db_3@newsprd01...
> > > hello,
> > >
> > > why acedCommand doesn't work in personal command??
> > >
> > > i just want to use
> > > acedCommand (RTSTR, "_ddatte", RTPICK, myselection, RTNONE );
> > > and
> > > acedCommand (RTSTR, "_explode", RTPICK, myselection, RTNONE );
> > >
> > > any work ...
> > >
> > > the selectionset myselection contain block with attributes.
> > > I don't have registered my function with ACED_CMD_TRANSPARENT flag.
> > >
> > > thanks for your advices.
> > >
> > >
> >
> >
>
>