Creating sections and inserting mechanisms
Posted: Thu Nov 20, 2008 8:40 am
I'm wondering if it is possible to create a section in a way it's not anonymous.
for example
create an anonymous section
it would be cool to have something like
so when I run topology, or any other tool that display the name of the section I have a better name than the Python one (e.g.: PySec_b7dfa1a0)
Second question is:
Is the blessed way to insert a Mechanism the following?
The way proposed here: http://www.davison.webfactional.com/not ... on-python/
does not work.
Cheers,
Michele
for example
Code: Select all
soma = h.Section()
it would be cool to have something like
Code: Select all
soma = h.Section(name='soma')
Second question is:
Is the blessed way to insert a Mechanism the following?
Code: Select all
h('insert MyMech')
does not work.
Cheers,
Michele