Skip to content
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

ZMT zurich med tech

  1. Home
  2. Sim4Life
  3. Python API
  4. Generating "Templates" model object from Python (e.g. SEFT, Coil, Phased Arrays, LUA, etc...)

Generating "Templates" model object from Python (e.g. SEFT, Coil, Phased Arrays, LUA, etc...)

Scheduled Pinned Locked Moved Python API
pythonmodelingtemplates
1 Posts 1 Posters 457 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • SylvainS Offline
    SylvainS Offline
    Sylvain
    ZMT
    wrote on last edited by
    #1

    The Templates model objects can be generated and configured using the GenericToolkit module of the Python API:

    import GenericToolkit
    
    print GenericToolkit.ListToolkits()
    
    seft = GenericToolkit.Create('SEFT')
    
    print seft.Parameters.DumpTree()
    
    seft.Parameters.Geometry.Environment.Frequency.Value = 1e5
    seft.Parameters.Geometry.Geometrical.CurvatureRadius.Value = 85
    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Search