Code: Select all
proc testsection() { localobj mysection
mysection=$o1
}
objref cell
cell = new celltemplate() // template contains soma and dend[99]
access cell.soma
testsection(cell.soma)
$o1 { +code to adjust properties of section+ }
$o1.v(0.5) // access section range
Is there a way to do this? If not as 1 parameter, can I send cell and soma as 2 seperate parameters and then "paste" them together as in the dot referencing?