Sketcher: Expose constraint redundancy information to Python

This commit is contained in:
Abdullah Tahiri
2023-06-11 16:08:13 +02:00
committed by abdullahtahiriyo
parent b6e0cfc52b
commit dc7b3bfd66
2 changed files with 98 additions and 0 deletions

View File

@@ -494,6 +494,46 @@ If there is no such constraint an exception is raised.
</Documentation>
<Parameter Name="GeometryFacadeList" Type="List"/>
</Attribute>
<Attribute Name="DoF" ReadOnly="true">
<Documentation>
<UserDocu>
Return the DoFs of the current solved sketch
</UserDocu>
</Documentation>
<Parameter Name="DoF" Type="Long"/>
</Attribute>
<Attribute Name="ConflictingConstraints" ReadOnly="true">
<Documentation>
<UserDocu>
Return a list of integers indicating the constraints detected as conflicting
</UserDocu>
</Documentation>
<Parameter Name="ConflictingConstraints" Type="List"/>
</Attribute>
<Attribute Name="RedundantConstraints" ReadOnly="true">
<Documentation>
<UserDocu>
Return a list of integers indicating the constraints detected as redundant
</UserDocu>
</Documentation>
<Parameter Name="RedundantConstraints" Type="List"/>
</Attribute>
<Attribute Name="PartiallyRedundantConstraints" ReadOnly="true">
<Documentation>
<UserDocu>
Return a list of integers indicating the constraints detected as partially redundant
</UserDocu>
</Documentation>
<Parameter Name="PartiallyRedundantConstraints" Type="List"/>
</Attribute>
<Attribute Name="MalformedConstraints" ReadOnly="true">
<Documentation>
<UserDocu>
Return a list of integers indicating the constraints detected as malformed
</UserDocu>
</Documentation>
<Parameter Name="MalformedConstraints" Type="List"/>
</Attribute>
<Methode Name="setGeometryId">
<Documentation>
<UserDocu>sets the GeometryId of the SketchGeometryExtension of the geometry with the provided GeoId</UserDocu>