SIMION® Industry standard charged particle optics simulation software.
About | Documentation | Community/Support | Downloads | Ordering

SIMION 8.0 Issues/Bugs/Enhancements

Filter issues by query:
Issue I496 [enhancement,81,inprogress]
  Manipulating workbenches from Lua in SIMION

  NOTE: This is currently an 8.1 feature that is only available in the
  8.1 "early access" mode.  See Issue I421 for details.

  There are new functions for manipulating workbenches from Lua
  inside SIMION.

  Examples:

    local wb = simion.wb     -- get workbench object
    print(wb)
    print(wb.bounds)
    local b = wb.bounds
    print(b.xl, b.yl, b.zl, b.xr, b.yr, b.zr)
    local inst = wb.instances[1] -- Get first PA instance
                                 --   in PAs instance list
    print(inst)
    local pa = inst.pa       -- Get associated PA object.
                             --   See Issue I422
    print(pa)

    print(inst.x, inst.y, inst.z)
    print(inst.ox, inst.oy, inst.oz)
    print(inst.az, inst.el, inst.rt)
    print(inst.nz_use)
    print(inst.mm_per_grid_unit)
    print(inst.filename)

  There are numerous other functions and properties.  These will be
  documented (in the Libraries API in Help|Browse
  Documentation in 8.0.5 or above)

  Partly implemented in 8.0.5-TEST18  provided "early access"
  mode is enabled.

  See also Issue I422 - Manipulating PAs from Lua inside SIMION

Any comments on this web page? (will be sent to SIS)
[Optional] Your name: email: phone/fax:
(c) 2003-2006 Scientific Instrument Services, Inc. (SIS). Contact SIS.