pycatia.knowledge_interfaces.optimization_constraint

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.knowledge_interfaces.optimization_constraint.OptimizationConstraint(com_object)

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
KnowledgeInterfaces.KnowledgeObject
KnowledgeInterfaces.KnowledgeActivateObject
KnowledgeInterfaces.Relation
KnowledgeInterfaces.Check
OptimizationConstraint

Represents an optimization constraint.

See also:
OptimizationConstraints
property distance_to_satisfaction: RealParam

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
o Property DistanceToSatisfaction() As RealParam (Read Only)

Returns the parameter containing the distance to constraint satisfaction.
Return type:

RealParam

property precision: float

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
o Property Precision() As double

Returns or sets the constraint precision. Only for equality
constraints.
The constraint precision allows the system to know when an equality constraint can be declared as
satisfied (when : distance to satisfaction < precision).
Return type:

float

property satisfaction: bool

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
o Property Satisfaction() As boolean (Read Only)

Returns the constraint satisfaction.
Return type:

bool