Sketcher: SketchGeometryExtensionPy - add testGeometryMode/setGeometryMode interface

This commit is contained in:
Abdullah Tahiri
2020-12-05 06:24:33 +01:00
committed by abdullahtahiriyo
parent cd77e7ad2c
commit 092a1ee39d
2 changed files with 61 additions and 2 deletions

View File

@@ -15,10 +15,20 @@
<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.
Returns the Id of the SketchGeometryExtension.
</UserDocu>
</Documentation>
<Parameter Name="Id" Type="Long"/>
@@ -26,7 +36,7 @@
<Attribute Name="InternalType" ReadOnly="false">
<Documentation>
<UserDocu>
returns the Id of the SketchGeometryExtension.
Returns the Id of the SketchGeometryExtension.
</UserDocu>
</Documentation>
<Parameter Name="InternalType" Type="String"/>