rprovencio
2008-12-15, 06:22 PM
I seem to be having trouble adding mySSAdd to myObjs. Is there something wrong with what I'm doing here???
(setq myP1 (getpoint "\nPick first corner:"))
(setq myP2 (getcorner myP1 "\nPick opposite corner:"))
(command "._rectang" myP1 myP2)
(setq myObjs (ssget "_L"))
(princ "\nSelect island:")
(setq mySSAdd (ssget "_:S"))
(ssadd mySSAdd myObjs)
(command "-hatch" "p" "ANSI31" myHatchScale 0 "s" myObjs "" "")
(setq myPrev myMethod)
Thanks in advance.
Robert
(setq myP1 (getpoint "\nPick first corner:"))
(setq myP2 (getcorner myP1 "\nPick opposite corner:"))
(command "._rectang" myP1 myP2)
(setq myObjs (ssget "_L"))
(princ "\nSelect island:")
(setq mySSAdd (ssget "_:S"))
(ssadd mySSAdd myObjs)
(command "-hatch" "p" "ANSI31" myHatchScale 0 "s" myObjs "" "")
(setq myPrev myMethod)
Thanks in advance.
Robert