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.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectKnowledgeInterfaces.KnowledgeObjectKnowledgeInterfaces.KnowledgeActivateObjectKnowledgeInterfaces.RelationKnowledgeInterfaces.CheckOptimizationConstraintRepresents 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:
- property precision: float¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property Precision() As doubleReturns or sets the constraint precision. Only for equalityconstraints.The constraint precision allows the system to know when an equality constraint can be declared assatisfied (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