Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Kent1Cooper
en respuesta a: jocke.o92


@jocke.o92 wrote:

I uploaded a short clip. No messages at all, what I can see


Then you didn't look very closely at your own video clip.  There is a message:

Kent1Cooper_0-1621881732824.png

It looks like you just hit Enter when it asked for the Block name.

 

Also, you left the default 0,0,0 as the insertion point in your Block definition, instead of specifying the middle of the tree pieces.  So even if it did work, you wouldn't see the trees around the Points, but off in the distance.

 

EDIT:
Looking again, it appears to be at the point where the routine is supposed to feed in the Block name, for insertion at a Point location, that it's getting something it doesn't recognize as a Block in the drawing.  That's puzzling, but I have a shot in the dark suggestion:

 

Might you have a differently-defined INSERT command?  If you change this line:

 

(command "_insert" bname pt "" "" "")

 

to this, with the period prefix to force it to use the native AutoCAD version of the command:

 

(command "_.insert" bname pt "" "" "")

 

does it work?

 

Further EDIT:

That message is coming from the routine, not from AutoCAD.  It's not finding that Block name.  I don't see why not....

Kent Cooper, AIA