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

# Re: [femm] Re: LUA NODE and SEGMENT EDIT

- To: femm@yahoogroups.com
- Subject: Re: [femm] Re: LUA NODE and SEGMENT EDIT
- From: "<Joao Paulo Sinnecker>" <jps@if.ufrj.br>
- Date: Wed, 11 Sep 2002 12:21:36 -0300 (BRT)
- In-reply-to: <alng55+vblh@eGroups.com>
- References: <alng55+vblh@eGroups.com>
- User-agent: IMP/PHP IMAP webmail program 2.2.7

    Thanks...

    JP
    Cópia David Meeker <dcm3c@earthlink.net>:

    > The command is actually "deleteselectednodes" with an 's' on the end.
    > To call this function, you have to use the syntax:
    >
    > deleteselectednodes()
    >
    > with the parentheses on the end--this is a call to a function with no
    > arguments. When I do this in the lua console window, the view is not
    > immediately updated(i.e. the nodes are still visible on the screen),
    > but the selected nodes actually do get deleted internally and go away
    > the next time the view gets redrawn.
    >
    >
    > --- In femm@y..., "<Joao Paulo Sinnecker>" <jps@i...> wrote:
    > > 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
    >
    >
    > ------------------------ Yahoo! Groups Sponsor
    >
    >
    >
    > Your use of Yahoo! Groups is subject to
    > http://docs.yahoo.com/info/terms/
    >
    >

    ************************

    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

- References:
  - Re: LUA NODE and SEGMENT EDIT
    - From: "David Meeker" <dcm3c@earthlink.net>

- Prev by Date: Re: LUA NODE and SEGMENT EDIT
- Next by Date: Determining inductance per meter with 2D analyses
- Previous by thread: Re: LUA NODE and SEGMENT EDIT
- Next by thread: Determining inductance per meter with 2D analyses
- Index(es):
  - Date
  - Thread