pycatia.general_knowledge_interfaces.expert_check¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-09-25 14:34:21.593357
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.general_knowledge_interfaces.expert_check.ExpertCheck(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectGenKnowledgeInterfaces.ExpertRuleBaseComponentRuntimeGenKnowledgeInterfaces.ExpertCheckRuntimeExpertCheckRepresents the edition part of a check.The following example shows how to access the Check check1 from an existingRuleSet RS1 of the RuleBase RB1Dim CATDocs As DocumentSet CATDocs = CATIA.DocumentsDim partdoc As PartDocumentSet partdoc = CATDocs.Add(“CATPart”)Dim part As PartSet part = partdoc.PartDim relations As RelationsSet relations = part.RelationsDim Rulebase As ExpertRuleBaseRuntimeSet RuleBase = relations.Item(“RB1”)Dim Ruleset As ExpertRuleSetRuntimeSet RuleSet = RuleBase.RuleSet.ExpertRuleBaseComponentRuntimes.Item(“RS1”)Dim Check1 As ExpertCheckRuntimeSet Check1 = RuleSet.ExpertRuleBaseComponentRuntimes.Item(“Check1”)See also:Relations, ExpertRuleBase- property body: str¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Body() As CATBSTRReturns or sets the body of a Check.Example:Check1.Body = “H.Diameter > 20mm AND GetSubString(P.Name, 1, 6) == “myPad.”
- Return type:
str
- property language: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Language() As longReturns or sets the language of a check.1KWE language2VB Script
- Return type:
int
- property variables: str¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Variables() As CATBSTRReturns or sets the variable scope of an Expert Check.Example:Check1.Variables = “H:Hole; P: Pad”
- Return type:
str