PDA

View Full Version : Explode AND Enter Key?


X-Trail
24-07-2005, 07:09 AM
* Can You Please take a look at my script

***************
insert
layout
0,0
1


explode
l
layer <------- I get an error here ......
off

*****************
* This is what i got

Command: explode
Select object: l
The object is not able to be exploded.
None found.
Select object: layer
*Invalid selection*
Expects a point or Last/ALL/Group
Select object: *Cancel*


i tried to insert a line between l and layer using empty space.. but it didn't work... i tried the simecolen ...... so that the exit the command that says" Select object: " ... same.......

VERYCIVILDRAFTER
25-07-2005, 03:29 PM
The "last" command only works on the last object created within your current zoomed limits (on screen). I think if you put a zoom extents command before explode, your script will get past explode.

CarLB
25-07-2005, 04:22 PM
If VCD is correct about the problem (I believe he is), you could also correct it using "(entlast)" instead of "L", which selects the last created object whether or not it's visible. It's a lisp expression, include the parentheses.