objectvar save_window_, rvp_
objectvar scene_vector_[8]
objectvar ocbox_, ocbox_list_, scene_, scene_list_
{ocbox_list_ = new List()  scene_list_ = new List()}

//Begin CellBuild[0]
{
load_file("celbild.hoc", "CellBuild")
}
{ocbox_ = new CellBuild(1)}
{object_push(ocbox_)}
{
version(5.7)
continuous = 1
}
{object_push(topol)}
{
first = 0
slist.remove_all()
sname = "Term"
objref tobj
}
{
tobj = new CellBuildSection("Soma",0, 0, tobj, 1) slist.append(tobj)
  tobj.position(-30,90,-30,75) tobj.lx=-14.8649 tobj.ly=109.46 tobj.i3d=0
tobj = new CellBuildSection("Ax",0, 0, tobj, 1) slist.append(tobj)
tobj.parent=slist.object(0)
  tobj.position(-30,75,-30,-45) tobj.lx=-56.7568 tobj.ly=19.2973 tobj.i3d=0
tobj = new CellBuildSection("Term",0, 0, tobj, 1) slist.append(tobj)
tobj.parent=slist.object(1)
  tobj.position(-30,-45,-30,-60) tobj.lx=-1.4865 tobj.ly=-69.054 tobj.i3d=0
all_init()
}
for i=0, slist.count-1 {slist.object(i).rdses()}
{object_pop()}
{
}
{object_push(subsets)}
{first = 0}
{ tobj = snlist.object(0)}
{tobj = new SNList("Axon") snlist.append(tobj)}
for i=0,0 tobj.add(bild.topol.slist.object(fscan()))
1
{tobj = new SNList("Terminals") snlist.append(tobj)}
for i=0,0 tobj.add(bild.topol.slist.object(fscan()))
2
{consist()}
{object_pop()}
{
}
{object_push(geom)}
{
first = 0
tobj = new GeoSpec(7)
tobj.value = 0.01
bild.subsets.snlist.object(0).geo.append(tobj)
tobj = new GeoSpec(2)
tobj.value = 11.5
bild.topol.slist.object(0).geo.append(tobj)
tobj = new GeoSpec(3)
tobj.value = 11
bild.topol.slist.object(0).geo.append(tobj)
tobj = new GeoSpec(2)
tobj.value = 50
bild.topol.slist.object(1).geo.append(tobj)
tobj = new GeoSpec(3)
tobj.value = 0.8
bild.topol.slist.object(1).geo.append(tobj)
tobj = new GeoSpec(2)
tobj.value = 7
bild.topol.slist.object(2).geo.append(tobj)
tobj = new GeoSpec(3)
tobj.value = 5
bild.topol.slist.object(2).geo.append(tobj)
set_default()
}
{object_pop()}
{
}
{object_push(memb)}
{first=0}
{
tobj = new FakeMechStan(0)
tobj.value = 160
tobj.set_default()
tobj = new MStanWrap(tobj, 0)
bild.subsets.snlist.object(0).ml.append(tobj)
}
{
tobj = new FakeMechStan(1)
tobj.value = 1
tobj.set_default()
tobj = new MStanWrap(tobj, 0)
bild.subsets.snlist.object(0).ml.append(tobj)
}
{
tobj = new MechanismStandard("pas")
tobj.set("g_pas", 7.1429e-05, 0)
tobj.set("e_pas", -45, 0)
tobj = new MStanWrap(tobj, 1)
bild.subsets.snlist.object(0).ml.append(tobj)
}
{object_pop()}
{
}
{object_push(manage)}
{
first = 0
classname = "Cell"
etop=1 esub=1 egeom=1 emem=1
itop=1 isub=0 igeom=0 imem=0
bild.topol.names_off = 0
bild.topol.circles_off = 0
output_index = 0  output_x = 1
}
{object_pop()}
{
cexport()
}
{object_pop()}
{
save_window_=ocbox_.gtopol
save_window_.size(-200,200,-150,150)
scene_vector_[2] = save_window_
ocbox_.gtopol = save_window_
save_window_.save_name("ocbox_.gtopol")
}
{
ocbox_.map("CellBuild[0]", 21, 300, 466.56, 250.56)
}
objref ocbox_
//End CellBuild[0]

{WindowMenu[0].ses_gid(1, 1, 1, "Cells")}
objectvar scene_vector_[1]
{doNotify()}