GetPlots
Get dataplot's uids as to access them, dataplots are generated by this datarange.
int GetPlots( vector<uint> & vUID )
return the size of vUID if success, otherwise return 0.
EX1
//Get the selected data plot's UID. void DataRange_GetPlots_Ex1() { Tree trXYSelection; DWORD dwRules = DRR_GET_DEPENDENT | DRR_NO_FACTORS; init_input_data_branch_from_selection(trXYSelection, dwRules); // out_tree(trXYSelection); DataRange dr; dr.Create(trXYSelection, false); vector<uint> vUID; dr.GetPlots(vUID); }
origin.h