126 if (newName.empty()) newName = NextName();
128 assert (0 != fpFactory);
131 G4String title = Placement()+
"/"+newName+
"/";
132 G4String guidance =
"Commands for "+newName+
" model.";
136 fDirectoryList.push_back(directory);
139 typename Factory::ModelAndMessengers creation = fpFactory->Create(Placement(), newName);
142 fpVisManager->RegisterModel(creation.first);
145 typename Factory::Messengers::iterator iter = creation.second.begin();
147 while (iter != creation.second.end()) {
148 fpVisManager->RegisterMessenger(*iter);