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

# Lua zoom & grid

- To: <femm@yahoogroups.com>
- Subject: Lua zoom & grid
- From: "Carl Kopin" <ckopin@davinciresearch.com>
- Date: Tue, 5 Feb 2002 12:06:27 -0700
- Thread-index: AcGueDZ3zGlIo0X+QP+4vIwsYPBZIA==
- Thread-topic: Lua zoom & grid

    Dear Group

    I have encountered problems with the subject commands and here are some examples of Lua scripting. I wonder if anybody can help me

    -- beginning of pre-processor script
    ... some init data
    ... Lua file commands
    zoom(-5,-20,20,20)	-- in this place the zoom works as predicted
    ..grid..()	-- any grid command gives run error
    function myfunction()
    ...
    zoom(-5,-20,20,20)	-- in this place the zoom will not work
    ..grid..()	-- any grid command gives run error
    ...
    end

    while 1 do
    ... Lua commands
    ...
    myfunction()
    ...
    zoom(-5,-20,20,20)	--in this place the zoom will not work
    ..grid..()	-- any grid command gives run error
    end
    ...
    zoom(-5,-20,20,20)	-- in this place the zoom will not work
    ..grid..()	-- any grid command gives run error
    -- end of script

    In the post-processor the zoom command by itself in the Lua script file does not do the zooming but when you click on one of the move arrows in the menu bar it does move with the zoom.

    All of the grid commands in pre-processor end up with a run error "attempt to call '...' (a nil value) stack traceback:". In the post-processor, however, the grid commands work except the gridsnap('flag').

    Have you experienced similar problems and solved them? I would like to hearfrom you.
    Thanks,
    Carl

- Follow-Ups:
  - RE: [femm] Lua zoom & grid
    - From: "Robin Cornelius" <robin.cornelius@btinternet.com>
  - RE: [femm] Lua zoom & grid
    - From: "Robin Cornelius" <robin.cornelius@btinternet.com>

- Prev by Date: Re: [femm] Asymptotic boundary condition
- Next by Date: RE: [femm] Lua zoom & grid
- Previous by thread: Re: [femm] FEMM + MathCad
- Next by thread: RE: [femm] Lua zoom & grid
- Index(es):
  - Date
  - Thread