mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-24 16:30:34 +05:00
PAL7222: Now names of families will contain names of corresponding groups
This commit is contained in:
parent
658c72bc1d
commit
4101a1ce54
@ -211,9 +211,18 @@ DriverMED_Family::GetFamilyInfo(const MED::PWrapper& theWrapper,
|
|||||||
const MED::PMeshInfo& theMeshInfo) const
|
const MED::PMeshInfo& theMeshInfo) const
|
||||||
{
|
{
|
||||||
string aValue;
|
string aValue;
|
||||||
|
|
||||||
ostringstream aStr;
|
ostringstream aStr;
|
||||||
aStr << myId;
|
|
||||||
|
aStr << "FAM_" << myId;
|
||||||
|
set<string>::iterator aGrIter = myGroupNames.begin();
|
||||||
|
for (; aGrIter != myGroupNames.end(); aGrIter++)
|
||||||
|
{
|
||||||
|
aStr << "_" << *aGrIter;
|
||||||
|
}
|
||||||
|
|
||||||
aValue = aStr.str();
|
aValue = aStr.str();
|
||||||
|
|
||||||
MED::TStringVector anAttrDescs (1, ""); // 1 attribute with empty description,
|
MED::TStringVector anAttrDescs (1, ""); // 1 attribute with empty description,
|
||||||
MED::TIntVector anAttrIds (1, myId); // Id=0,
|
MED::TIntVector anAttrIds (1, myId); // Id=0,
|
||||||
MED::TIntVector anAttrVals (1, myId); // Value=0
|
MED::TIntVector anAttrVals (1, myId); // Value=0
|
||||||
|
Loading…
Reference in New Issue
Block a user