pycatia.knowledge_interfaces.bool_param¶
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.bool_param.BoolParam(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectKnowledgeInterfaces.ParameterKnowledgeInterfaces.EnumParamBoolParamRepresents the boolean parameter.The following example shows how to create it:Dim CATDocs As DocumentsSet CATDocs = CATIA.DocumentsDim part1 As DocumentSet part1 = CATDocs.Add(“CATPart”)Dim availability As BooleanParamSet availability = part1.Parameters.CreateBoolean(“availability”, True)- property value: bool¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property Value() As booleanReturns or sets the value of the boolean parameter.Example:This example sets the availability boolean parameter value to True ifits value is False:If (availability.Value = False) Thenavailability.Value = TrueEnd If
- Return type:
bool