68 lines
2.6 KiB
XML
68 lines
2.6 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="GeometryExtensionPy"
|
|
Name="SketchGeometryExtensionPy"
|
|
PythonName="Sketcher.SketchGeometryExtension"
|
|
Twin="SketchGeometryExtension"
|
|
TwinPointer="SketchGeometryExtension"
|
|
Include="Mod/Sketcher/App/SketchGeometryExtension.h"
|
|
Namespace="Sketcher"
|
|
FatherInclude="Mod/Part/App/GeometryExtensionPy.h"
|
|
FatherNamespace="Part"
|
|
Constructor="true">
|
|
<Documentation>
|
|
<Author Licence="LGPL" Name="Abdullah Tahiri" EMail="abdullah.tahiri.yo@gmail.com" />
|
|
<UserDocu>Describes a SketchGeometryExtension</UserDocu>
|
|
</Documentation>
|
|
<Methode Name="testGeometryMode" Const="true">
|
|
<Documentation>
|
|
<UserDocu>Returns a boolean indicating whether the given bit is set.</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="setGeometryMode" Const="false">
|
|
<Documentation>
|
|
<UserDocu>Sets the given bit to true/false.</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Attribute Name="Id" ReadOnly="false">
|
|
<Documentation>
|
|
<UserDocu>
|
|
Returns the Id of the SketchGeometryExtension.
|
|
</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="Id" Type="Long"/>
|
|
</Attribute>
|
|
<Attribute Name="InternalType" ReadOnly="false">
|
|
<Documentation>
|
|
<UserDocu>
|
|
Returns the Id of the SketchGeometryExtension.
|
|
</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="InternalType" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="Blocked" ReadOnly="false">
|
|
<Documentation>
|
|
<UserDocu>
|
|
Sets/returns whether the geometry is blocked or not.
|
|
</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="Blocked" Type="Boolean"/>
|
|
</Attribute>
|
|
<Attribute Name="Construction" ReadOnly="false">
|
|
<Documentation>
|
|
<UserDocu>Sets/returns this geometry as a construction one, which will not be part of a later built shape.</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="Construction" Type="Boolean"/>
|
|
</Attribute>
|
|
<Attribute Name="GeometryLayerId" ReadOnly="false">
|
|
<Documentation>
|
|
<UserDocu>
|
|
Returns the Id of the geometry Layer in which the geometry is located.
|
|
</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="GeometryLayerId" Type="Long"/>
|
|
</Attribute>
|
|
</PythonExport>
|
|
</GenerateModel>
|