Also, with this 'simple' routine, there isn't any error checking, so if you
pick entities that can't be exploded (i.e. TEXT), then it's going to stop.
"Edward Bagby" wrote in message
news:EB88709BBDD841D7A207B8913F83BBAD@in.WebX.maYIadrTaRb...
> here's the code for trying at the command line, though it doesn't work
>
> (progn(ssget D)(setq i 0)(setq n_ent(sslength D))(repeat n_ent(command
> "_explode" (ssname D i))(setq i (+ 1 i))))
>
>
>
>
> "Edward Bagby" wrote in message
> news:376ABEEB160B8D2262FE8F74D002257C@in.WebX.maYIadrTaRb...
> > I don't know...
> > I'm ready to give up on this one. I'm trying to programatically explode
a
> > leader and it's not working. Any thoughts on that?
> >
> > Thank you very much,
> > Edward
> >
> >
> > "Tony Tanzillo" wrote in message
> > news:9E9DC60F7272A99C3DBD483C7FB24278@in.WebX.maYIadrTaRb...
> > > It depends on what command you want to use
> > > the entity name with. The (entsel) function
> > > returns a list containing an entity name,
> > > and the coordinate used to select it using
> > > a pick box. There are other ways to get one
> > > or more entity names.
> > >
> > > Can you rephrase your question in more specific terms?
> > >
> > > "Edward Bagby" wrote in message
> > > news:EFAB33A983A456E0DA95399070AA9411@in.WebX.maYIadrTaRb...
> > > > If I want to get the entity name of an object and use use it in a
> > command.
> > > > How would this be done. And what kind of variable (is it a string?)
> is
> > the
> > > > 'entity name' and what would it look like?
> > > >
> > > > Thanks
> > > > Edward
> > > >
> > > >
> > >
> > >
> >
> >
>
>