//Get attributes
aMedium = (theFeature->data()->string(OperaPlugin_Volume::MEDIUM_ID())->value());
AttributeSelectionListPtr aSelList = theFeature->data()->selectionList(OperaPlugin_Volume::OBJECTS_LIST_ID());
- std::cout << "size = " << aSelList->size() << std::endl;
for (int anIndex = 0; anIndex < aSelList->size(); ++anIndex)
{
- std::cout << "i = " << anIndex << std::endl;
// Get feature
ResultPtr aResult = aSelList->value(anIndex)->context();
FeaturePtr aSelFeature = aResult->document()->feature(aResult);