configuration (Med --> MED).
SALOMEDS::AttributeIOR_var aIOR;
// Create SComponent labelled 'Med'
- SALOMEDS::SComponent_var medfather = myStudy->FindComponent("Med");
+ // SALOMEDS::SComponent_var medfather = myStudy->FindComponent("Med");
+ SALOMEDS::SComponent_var medfather = myStudy->FindComponent("MED");
if ( CORBA::is_nil(medfather) )
THROW_SALOME_CORBA_EXCEPTION("SComponent labelled 'Med' not Found",SALOME::INTERNAL_ERROR);
SALOMEDS::AttributeIOR_var aIOR;
// Create SComponent labelled 'MED' if it doesn't already exit
- SALOMEDS::SComponent_var medfather = myStudy->FindComponent("Med");
+ // SALOMEDS::SComponent_var medfather = myStudy->FindComponent("Med");
+ SALOMEDS::SComponent_var medfather = myStudy->FindComponent("MED");
if ( CORBA::is_nil(medfather) )
{
THROW_SALOME_CORBA_EXCEPTION("Component Med not found",
SALOMEDS::AttributeIOR_var aIOR;
// Find SComponent labelled 'MED'
- SALOMEDS::SComponent_var medfather = myStudy->FindComponent("Med");
+ // SALOMEDS::SComponent_var medfather = myStudy->FindComponent("Med");
+ SALOMEDS::SComponent_var medfather = myStudy->FindComponent("MED");
if ( CORBA::is_nil(medfather) )
THROW_SALOME_CORBA_EXCEPTION("SComponent labelled 'Med' not Found",SALOME::INTERNAL_ERROR);
SALOMEDS::AttributeComment_var aComment;
// Find SComponent labelled 'Med'
- SALOMEDS::SComponent_var medfather = myStudy->FindComponent("Med");
+ // SALOMEDS::SComponent_var medfather = myStudy->FindComponent("Med");
+ SALOMEDS::SComponent_var medfather = myStudy->FindComponent("MED");
if ( CORBA::is_nil(medfather) )
THROW_SALOME_CORBA_EXCEPTION("SComponent labelled 'Med' not Found",SALOME::INTERNAL_ERROR);
// Find SComponent labelled 'Med'
MESSAGE("Find SComponent labelled 'Med'");
- SALOMEDS::SComponent_var medfather = myStudy->FindComponent("Med");
+ // SALOMEDS::SComponent_var medfather = myStudy->FindComponent("Med");
+ SALOMEDS::SComponent_var medfather = myStudy->FindComponent("MED");
if ( CORBA::is_nil(medfather) )
THROW_SALOME_CORBA_EXCEPTION("SComponent labelled 'Med' not Found",SALOME::INTERNAL_ERROR);