Files
create/src/Mod/Material/App/MaterialPropertyPy.xml
David Carter 592406a328 Materials: External Modules Part 1
Refactored code to support local and external material sources

This is the first PR in a series to support external modules. External
modules allow materials to be stored in external data sources such as
databases or web services. No new functionality is introduced in this
PR, rather it is a refactoring of code that will allow for changes to
be introduced in future PRs. Minor performance improvements have also
been made in the model and material managers.

The Python API has been enhanced for many data types to allow for
modification within Python.
2025-03-18 20:33:10 -05:00

31 lines
1.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Father="ModelPropertyPy"
Name="MaterialPropertyPy"
Twin="MaterialProperty"
TwinPointer="MaterialProperty"
Include="Mod/Material/App/Materials.h"
Namespace="Materials"
FatherInclude="Mod/Material/App/Model.h"
FatherNamespace="Materials"
Constructor="true"
Delete="false">
<Documentation>
<Author Licence="LGPL" Name="DavidCarter" EMail="dcarter@davidcarter.ca" />
<UserDocu>Material property descriptions.</UserDocu>
</Documentation>
<Attribute Name="Value" ReadOnly="true">
<Documentation>
<UserDocu>The value of the material property.</UserDocu>
</Documentation>
<Parameter Name="Value" Type="Object"/>
</Attribute>
<Attribute Name="Empty" ReadOnly="true">
<Documentation>
<UserDocu>The property value is undefined.</UserDocu>
</Documentation>
<Parameter Name="Empty" Type="Boolean"/>
</Attribute>
</PythonExport>
</GenerateModel>