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>
<Methode Name="copyObject"> <Methode Name="copyObject">
<Documentation> <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> </Documentation>
</Methode> </Methode>
<Methode Name="moveObject"> <Methode Name="moveObject">
<Documentation> <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> </Documentation>
</Methode> </Methode>
<Methode Name="undo"> <Methode Name="undo">
@ -116,8 +118,8 @@ NOTE: It's possible that several objects have the same label name.</UserDocu>
</Methode> </Methode>
<Methode Name="findObjects"> <Methode Name="findObjects">
<Documentation> <Documentation>
<UserDocu>findObjects([string (type)], [string (name)]) -&gt; list <UserDocu>findObjects([string (type)], [string (name)]) -&gt; list
Return a list of objects that match the specified type and name. Return a list of objects that match the specified type and name.
Both parameters are optional.</UserDocu> Both parameters are optional.</UserDocu>
</Documentation> </Documentation>
</Methode> </Methode>
@ -193,4 +195,4 @@ Both parameters are optional.</UserDocu>
</Attribute> </Attribute>
<CustomAttributes /> <CustomAttributes />
</PythonExport> </PythonExport>
</GenerateModel> </GenerateModel>