//模型数据集1,里面有一条导入.3ds的飞机模型的记录 UGDatasetVector* dv = (UGDatasetVector*)pDataSource->GetDataset(_U("model")).get(); if(!dv->IsOpen()) dv->Open(); UGQueryDef query; UGRecordsetPtr res = dv->Query(query); res->MoveFirst(); UGGeometry* geometry = NULL; res->GetGeometry(geometry); //空的模型数据集2 UGDatasetVector* dvtest = (UGDatasetVector*)pDataSource->GetDataset(_U("ModelTest")).get(); if(!dvtest->IsOpen()) dvtest->Open(); UGRecordsetPtr resTest = dvtest->Query(query); resTest->AddNew(geometry); resTest->Update();