Comments (1)
Once the model has run, you can access the global variable of the model as a standard attribute of the lsystem:
For instance, if you have a global variable in your lsystem
nbleaf = 0
You can do
lsystem.derive()
nbleaf = lsystem.nbleaf
You can also access to all element of the simulation with
lsystem.execContext().globals() and lsystem.execContext().locals()
from lpy.
Related Issues (20)
- lpy launcher activate apparently hard coded 'openalea' conda environment HOT 2
- Lpy Probleme installation with conda
- Test Segmentation fault after conda installation HOT 1
- Can't install on Ubuntu 20.04 - UnsatisfiableError HOT 15
- Export to ply from python HOT 5
- [bug] indentation error on comments HOT 1
- OpenAlea Namespace not declared
- input() not working HOT 1
- accessing the turtle directly HOT 1
- "Segmentation fault (core dumped)" when running in the terminal
- Can't run lpy HOT 1
- Window crashes when the command is entered in the python shell HOT 3
- Problem with help menu HOT 1
- Bus error when running lpy
- As of Jul 2023: Problems Installing Lpy binaries using Conda HOT 1
- Issue with installing lpy on Mac
- Lsystem.animate() shows a blank PlantGL window in Python 3
- Can't Open Saved PLY File
- No module named 'openalea.lpy.__lpy_kernel__' HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lpy.