}
else
{
+ script += LineNumber(wln, lnNmbr);
script += "connect ";
script += startBox->getBBTKName();
script += ".";
script += "\n";
}
+ script += LineNumber(wln, lnNmbr);
script += "\n";
}
script += LineNumber(wln, lnNmbr);
script += "\n";
+ script += LineNumber(wln, lnNmbr);
script += "\n";
+
+ script += LineNumber(wln, lnNmbr);
script += "# Complex input ports\n";
script += complexInputs;
GObjectController *control = _controllers[id];
GBlackBoxModel *model = (GBlackBoxModel*) control->getModel();
+ script += model->getBBTKPackage()+":";
script += model->getBBTKType();
script += " ";
script += model->getBBTKName();
for (int i = 0; i < bsize; i++) {
int id = boxes[i];
- std::cout<<"id "<<id<<std::endl;//CFT
+// std::cout<<"id "<<id<<std::endl;//CFT
GObjectController *cont = _controllers[id];
- std::cout<<"nombre: "<<cont->getStatusText()<<std::endl;//CFT
- std::cout<<"tipo: "<<cont->getModel()->getBBTKType()<<std::endl;//CFT
- //boxesDiagram[i] = cont->getModel()->getBBTKType();//CFT
- std::cout<<"nname: "<<cont->getModel()->getBBTKName()<<std::endl;//CFT
- std::cout<<"categorie: "<<GetCategory()<<std::endl;//CFT
- std::cout<<"type: "<<cont->getModel()->getGObjectType()<<std::endl;//CFT
+// std::cout<<"nombre: "<<cont->getStatusText()<<std::endl;//CFT
+// std::cout<<"tipo: "<<cont->getModel()->getBBTKType()<<std::endl;//CFT
+// //boxesDiagram[i] = cont->getModel()->getBBTKType();//CFT
+// std::cout<<"nname: "<<cont->getModel()->getBBTKName()<<std::endl;//CFT
+// std::cout<<"categorie: "<<GetCategory()<<std::endl;//CFT
+// std::cout<<"type: "<<cont->getModel()->getGObjectType()<<std::endl;//CFT
cont->getModel()->save(content);
}