Files
create/src/Mod/PartDesign/App/BodyPy.xml

39 lines
1.5 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="BodyBasePy"
Name="BodyPy"
Twin="Body"
TwinPointer="Body"
Include="Mod/PartDesign/App/Body.h"
Namespace="PartDesign"
FatherInclude="Mod/Part/App/BodyBasePy.h"
FatherNamespace="Part">
<Documentation>
<Author Licence="LGPL" Name="Juergen Riegel" EMail="FreeCAD@juergen-riegel.net" />
<UserDocu>PartDesign body class</UserDocu>
</Documentation>
<Methode Name="insertObject">
<Documentation>
<UserDocu>insertObject(feature, target, after=False)
Insert the feature into the body after the given feature.
@param feature The feature to insert into the body
@param target The feature relative which one should be inserted the given.
If target is NULL than insert into the end if where is InsertBefore
and into the begin if where is InsertAfter.
@param after if true insert the feature after the target. Default is false.
@note the method doesn't modify the Tip unlike addObject()
</UserDocu>
</Documentation>
</Methode>
<Attribute Name="VisibleFeature" ReadOnly="true">
<Documentation>
<UserDocu>Return the visible feature of this body</UserDocu>
</Documentation>
<Parameter Name="VisibleFeature" Type="Object" />
</Attribute>
</PythonExport>
</GenerateModel>