46 lines
1.7 KiB
XML
46 lines
1.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
|
|
<PythonExport
|
|
Father="DocumentObjectExtensionPy"
|
|
Name="AttachExtensionPy"
|
|
Twin="AttachExtension"
|
|
TwinPointer="AttachExtension"
|
|
Include="Mod/Part/App/AttachExtension.h"
|
|
Namespace="Part"
|
|
FatherInclude="App/DocumentObjectExtensionPy.h"
|
|
FatherNamespace="App">
|
|
<Documentation>
|
|
<Author Licence="LGPL" Name="DeepSOIC" EMail="vv.titov@gmail.com" />
|
|
<UserDocu>This object represents an attachable object with OCC shape.</UserDocu>
|
|
</Documentation>
|
|
<Methode Name="positionBySupport">
|
|
<Documentation>
|
|
<UserDocu>positionBySupport() -> bool
|
|
|
|
Reposition object based on AttachmentSupport, MapMode and MapPathParameter properties.
|
|
Returns True if attachment calculation was successful, false if object is not attached and Placement wasn't updated,
|
|
and raises an exception if attachment calculation fails.</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name = "changeAttacherType">
|
|
<Documentation>
|
|
<UserDocu>changeAttacherType(typename) -> None
|
|
|
|
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>
|
|
|
|
<Attribute Name="Attacher" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>AttachEngine object driving this AttachableObject. Returns a copy.</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="Attacher" Type="Object" />
|
|
</Attribute>
|
|
</PythonExport>
|
|
</GenerateModel>
|