Attacher: Py: add interface for changing attacher type

Plus a mechanism to remember attacher type of AttachableObject through
save-restore cycle.
This commit is contained in:
DeepSOIC
2016-05-06 21:52:23 +03:00
parent c040ee7333
commit 41bae90d28
4 changed files with 86 additions and 2 deletions

View File

@@ -20,5 +20,15 @@ Returns True if attachment calculation was successful, false if object is not at
and raises an exception if attachment calculation fails.</UserDocu>
</Documentation>
</Methode>
<Methode Name = "changeAttacherType">
<Documentation>
<UserDocu>changeAttacherType(typename): Changes Attacher class of this object.
typename: string. The following are accepted so far:
'Attacher::AttachEngine3D'
'Attacher::AttachEnginePlane'
'Attacher::AttachEngineLine'
'Attacher::AttachEnginePoint'</UserDocu>
</Documentation>
</Methode>
</PythonExport>
</GenerateModel>