FreeCAD
1<?xml version="1.0" encoding="UTF-8"?>
2<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">3<PythonExport4Father="GeoFeaturePy"5Name="PartFeaturePy"6Twin="Feature"7TwinPointer="Feature"8Include="Mod/Part/App/PartFeature.h"9Namespace="Part"10FatherInclude="App/GeoFeaturePy.h"11FatherNamespace="App">12<Documentation>13<Author Licence="LGPL" Name="Juergen Riegel" EMail="FreeCAD@juergen-riegel.net" />14<UserDocu>This is the father of all shape object classes</UserDocu>15</Documentation>16<Methode Name="getElementHistory" Const="true" Keyword="true">17<Documentation>18<UserDocu>19getElementHistory(name,recursive=True,sameType=False,showName=False) - returns the element mapped name history
20
21name: mapped element name belonging to this shape
22recursive: if True, then track back the history through other objects till the origin
23sameType: if True, then stop trace back when element type changes
24showName: if False, return the owner object, or else return a tuple of object name and label
25
26If not recursive, then return tuple(sourceObject, sourceElementName, [intermediateNames...]),
27otherwise return a list of tuple.
28</UserDocu>29</Documentation>30</Methode>31</PythonExport>32</GenerateModel>33