forked from FreeCAD/FreeCAD
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Toponaming: Support disabling hashing; getting element history
- Loading branch information
Showing
4 changed files
with
69 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,5 +13,20 @@ | |
<Author Licence="LGPL" Name="Juergen Riegel" EMail="[email protected]" /> | ||
<UserDocu>This is the father of all shape object classes</UserDocu> | ||
</Documentation> | ||
<Methode Name="getElementHistory" Const="true" Keyword="true"> | ||
<Documentation> | ||
<UserDocu> | ||
getElementHistory(name,recursive=True,sameType=False,showName=False) - returns the element mapped name history | ||
|
||
name: mapped element name belonging to this shape | ||
recursive: if True, then track back the history through other objects till the origin | ||
sameType: if True, then stop trace back when element type changes | ||
showName: if False, return the owner object, or else return a tuple of object name and label | ||
|
||
If not recursive, then return tuple(sourceObject, sourceElementName, [intermediateNames...]), | ||
otherwise return a list of tuple. | ||
</UserDocu> | ||
</Documentation> | ||
</Methode> | ||
</PythonExport> | ||
</GenerateModel> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters