Doug,
I started to do this but then when I got to the command line I found out
that the command 2dSectionResultUpdate is dialog driven so you will still
need to hit ok to the dialog. Since I wrote the code I am posting
it....maybe someone has the answer to the dialog.
You guys and chalk this up for a wish list item.....oh wait this has been on
the wish list since R1.....ALL COMMANDS both Dialog/command line driven.
;;;;;ElevUpdate ©2001 Stardsign cad solution
(defun c:ElevUpdate (/ choose ss ent ret)
(INITGET "All Select")
(SETQ choose (GETKWORD "\nWall Insulation :
/Select "))
(if (or (= nil choose)(= choose "All"))
(if (setq ss (ssget "X" '((0 . "AEC_2D_SECTION"))))
(CS:ElevUpdate ss)
)
(progn
(if (setq ent (entsel "\Select Elevation to update"))
(setq ss (ssadd)
ss (ssadd (car ent))
ret (CS:ElevUpdate ss)
)
)
)
)
(princ)
)
(defun CS:ElevUpdate (ss / )
(setq i 0 )
(while (setq ent (ssname ss i))
(command "_2dSectionResultUpdate" ent )
;(while (eq 1 (logand 1 (getvar "CMDACTIVE")))(command pause))
(setq i (1+ i))
)
)
hope this helps
Rob Starz
www.stardsign.com
"Doug Snider" wrote in message
news:1C011C20818944029B961298586AFB33@in.WebX.maYIadrTaRb...
> The 2D elevations in ADT3 are great. The only thing that isn't great is
> having to individually select each elevation and run Update on it. Does
> anyone have a way to update a selection set of elevations with one
command.?
>
>