Message 1 of 2
Use entity with Sendcommand

Not applicable
12-14-2000
08:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I just want to use entity in sendcommand like this, instead use activeX
method :
private sub toto()
dim Sel as acadselectionset
dim entite as acadentity
set Sel = thisdrawing.acadselectionsets.add("flavien")
sel.selectonscreen
for each entite in sel
'The name of the command is not important, i just want to know
' how the Sendcommand can recognize my entity
'Like I can do in Lisp when I use : (command "delete" (cdar
entget_entity) "")
sendcommand "" & vbcr & entity.??? & vbcr
next
sel.delete
set sel = nothing
end sub
thanks for any help...
--
AUXITEC TECHNOLOGIES
ECOPOLIS SUD
36 AV JOSE NOBRE
13500 MARTIGUES
FRANCE
EMAIL flavien@itineris.net
Web: www.auxitec.fr
I just want to use entity in sendcommand like this, instead use activeX
method :
private sub toto()
dim Sel as acadselectionset
dim entite as acadentity
set Sel = thisdrawing.acadselectionsets.add("flavien")
sel.selectonscreen
for each entite in sel
'The name of the command is not important, i just want to know
' how the Sendcommand can recognize my entity
'Like I can do in Lisp when I use : (command "delete" (cdar
entget_entity) "")
sendcommand "
next
sel.delete
set sel = nothing
end sub
thanks for any help...
--
AUXITEC TECHNOLOGIES
ECOPOLIS SUD
36 AV JOSE NOBRE
13500 MARTIGUES
FRANCE
EMAIL flavien@itineris.net
Web: www.auxitec.fr