Sketcher: Expose Type as readonly python attribute

This commit is contained in:
Abdullah Tahiri
2018-02-07 15:32:43 +01:00
parent 12c04d6c4e
commit ec719e98fd
2 changed files with 29 additions and 0 deletions

View File

@@ -16,6 +16,12 @@
<Author Licence="LGPL" Name="Juergen Riegel" EMail="FreeCAD@juergen-riegel.net" />
<UserDocu>With this object you can handle sketches</UserDocu>
</Documentation>
<Attribute Name="Type" ReadOnly="true">
<Documentation>
<UserDocu>Get the constraint type</UserDocu>
</Documentation>
<Parameter Name="Type" Type="String"/>
</Attribute>
<Attribute Name="First" ReadOnly="false">
<Documentation>
<UserDocu>First geometry index the Constraint refers to</UserDocu>