pd << ", " << (*itGroup++);
}
}
-
+
// list of fields
pd << "], [";
if (fieldList.size() > 0)
}
}
pd << "], ";
- pd << author << ", \"" << fileName << "\")";
+ pd << "\"" << author << "\", \"" << fileName << "\")";
SetErrorCode(OK);
delete xaoObject;
pd << "], [";
// list of fields
+ if (nbFields > 0)
+ {
+ for (int i = 1; i <= nbFields; i++)
+ {
+ Handle(GEOM_Field) obj = Handle(GEOM_Field)::DownCast(fields->Value(i));
+ pd << obj << ((i < nbFields) ? ", " : "");
+ }
+ }
pd << "]";
pd << ") = geompy.ImportXAO(\"" << fileName << "\")";