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. Is it possible to export an equivalent python script for what has been setup manually in the GUI?

Is it possible to export an equivalent python script for what has been setup manually in the GUI?

Scheduled Pinned Locked Moved Python API
2 Posts 2 Posters 41 Views 2 Watching
  • 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.
  • M Offline
    M Offline
    mypi
    wrote last edited by
    #1

    Is it possible to export an equivalent python script for what has been setup manually in the GUI?

    There are things I know only how to do via the GUI, e.g. importing Duke in the simulation section. But I would like to know how to import Duke in the simulation when I programme via python scripts...

    1 Reply Last reply
    0
    • brynB Offline
      brynB Offline
      bryn
      ZMT
      wrote last edited by
      #2

      I guess you answered this yourself (s4l_v1.model.Import) in 706?

      To see the full modeling capabilities you probably will need to also look into the Python module XCoreModeling. The high-level API in s4l_v1 only contains a subset of that API.

      The Jupyter notebook snippets/examples demonstrate many functions. Please have a look at the tutorials and the topics demonstrated in the Modeling folder

      0c573440-5089-4960-a2d8-29ce279e6555-image.png

      0384d0d0-d5dc-4573-98ed-39a05c36c769-image.png

      3fffaec9-af4d-42c5-8476-0a6c0b78b74f-image.png

      76381032-0707-4474-a7c9-1e2dd19d75cb-image.png

      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