ModelAPI_AttributeString::typeId());
data()->addAttribute(ExchangePlugin_ExportFeature::MAIN_OBJECT_ID(),
ModelAPI_AttributeSelection::typeId());
- data()->addAttribute(ExchangePlugin_ExportFeature::MAT_FILE_ID(),
- ModelAPI_AttributeString::typeId());
// to support previous version of document, move the selection list
// if the type of export operation is XAO
static const std::string MY_MAIN_OBJECT_ID("root_main_object");
return MY_MAIN_OBJECT_ID;
}
- /// attribute name of materials file
- inline static const std::string& MAT_FILE_ID()
- {
- static const std::string MY_MAT_FILE_ID("mat_file");
- return MY_MAT_FILE_ID;
- }
/// Default constructor
EXCHANGEPLUGIN_EXPORT ExchangePlugin_ExportFeature();
geometrical_selection="true">
<validator id="GeomValidators_ShapeType" parameters="solid compound" />
</shape_selector>
- <file_selector id="mat_file" title="Materials file" path="">
- </file_selector>
</case>
</switch>
</source>