API: improve built-in docu for copyObject and moveObject

This commit is contained in:
DeepSOIC 2015-12-16 20:45:12 +03:00
parent dd8027a839
commit 4f2992db54

View File

@ -75,12 +75,14 @@
</Methode>
<Methode Name="copyObject">
<Documentation>
<UserDocu>Copy an object from another document to this document</UserDocu>
<UserDocu>copyObject(object, bool with_dependencies = False, bool ignored_argument = False)
Copy an object from another document to this document. If with_dependencies is True, all objects this object depends on are copied too.</UserDocu>
</Documentation>
</Methode>
<Methode Name="moveObject">
<Documentation>
<UserDocu>Move an object from another document to this document</UserDocu>
<UserDocu>moveObject(object, bool with_dependencies = False)
Transfers an object from another document to this document. If with_dependencies is True, all objects this object depends on are transferred too.</UserDocu>
</Documentation>
</Methode>
<Methode Name="undo">
@ -116,8 +118,8 @@ NOTE: It's possible that several objects have the same label name.</UserDocu>
</Methode>
<Methode Name="findObjects">
<Documentation>
<UserDocu>findObjects([string (type)], [string (name)]) -&gt; list
Return a list of objects that match the specified type and name.
<UserDocu>findObjects([string (type)], [string (name)]) -&gt; list
Return a list of objects that match the specified type and name.
Both parameters are optional.</UserDocu>
</Documentation>
</Methode>
@ -193,4 +195,4 @@ Both parameters are optional.</UserDocu>
</Attribute>
<CustomAttributes />
</PythonExport>
</GenerateModel>
</GenerateModel>