File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1401,10 +1401,8 @@ def get_solver_status(self) -> tuple[SolverStatus, int]:
14011401 return (SolverStatus .DIRTY , - 1 )
14021402
14031403 try :
1404- # kConstraintStatusFullyConstrained = 51713
1405- # kConstraintStatusUnderConstrained = 51714
1406- # kConstraintStatusOverConstrained = 51715
1407- _FULLY_CONSTRAINED = 51713
1404+ # Inventor ConstraintStatus enum values
1405+ fully_constrained = 51713 # kConstraintStatusFullyConstrained
14081406
14091407 all_constrained = True
14101408 has_entities = False
@@ -1421,7 +1419,7 @@ def get_solver_status(self) -> tuple[SolverStatus, int]:
14211419 has_entities = True
14221420 try :
14231421 status_val = entity .ConstraintStatus
1424- if status_val != _FULLY_CONSTRAINED :
1422+ if status_val != fully_constrained :
14251423 all_constrained = False
14261424 except Exception :
14271425 all_constrained = False
You can’t perform that action at this time.
0 commit comments