[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LUA NODE and SEGMENT EDIT



Hi,

I am facing some problems while editing with some LUA commands. I need to edit 
nodes and segments(arcs) in my model. Adding nodes and segments works fine. 
Selecting also works fine (they turn red). But when I try the delete commands, 
I get either an error, or nothing heppens.

An example of what I tried:

addnode(50,45) (in polar mode)
selectnode (50,45)

deleteselectednode

This last command returns an error:

error: `=` expected
last token read : `<eof>` at line 1 in string deleteselectednode


I tried to put something like: a=deleteselectednode and the error is removed, 
but the node is not deleted.

The same happens to arcs and segments.

If somebody have an idea, I would appreciate...

Thanks,


João Paulo Sinnecker
Instituto de Física - UFRJ
C.P. 68528
21941-972 - Rio de Janeiro - RJ
voice : 55-21-2562 7319
fax : 55-21-2562 7368