Knowledge Advisor - catia
Knowledge Advisor - catia
Knowledge Advisor - catia
- No tags were found...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
4. Type the code below into the edition box or copy/paste it from your browser to the edition box.5.6.PartBody\Hole.1\Activity = trueif PadLength 20mm{PartBody\Hole.1\Diameter = 20mmMessage("PadLength is: # | Internal Diameter is: #",PadLength,PartBody\Hole.1\Diameter)}else if PadLength > 50mm and PadLength < 100mm{PartBody\Hole.1\Diameter = 50mmMessage("PadLength is: # | Internal Diameter is: #",PadLength,PartBody\Hole.1\Diameter)}else if PadLength >= 100mm{PartBody\Hole.1\Diameter = 80mmMessage("PadLength is: # | Internal Diameter is: #",PadLength,PartBody\Hole.1\Diameter)}else{PartBody\Hole.1\Activity = falseMessage("PadLength is: # | Internal Diameter is: #",PadLength,PartBody\Hole.1\Diameter)}Click Apply. An information window displays the PadLength and Pad internal diameter values. Click OK in theInformation window. The Cylinder_Rule relation is added to the specification tree.Click OK to terminate this part of the dialog. Keep your document open and proceed to the next task.ChecksThe <strong>Knowledge</strong> <strong>Advisor</strong> product is required. Refer to Checks for more information on checks and check-related tasks.1.2.Click the icon. The first "Check Editor" dialog box is displayed.Replace the Check.1 string with Cylinder_Check,then click OK. The "Check Editor" box is displayed. It is similar to the Rule Editor.3. Select the Information item in the 'Type of Check' list.4. Enter a string in the message field (for example: Pad too short). This message is to be displayed whenever thestatement specified by the check is not fulfilled.5. Enter the following statement into the edition box:PadLength > 20mm6. Click Apply. The Cylinder_Check relation is added to the specification tree. A green icon in the specification treemeans that the check is fulfilled. No message is displayed.7. Click OK to confirm the check creation.8. Change the Pad limits so that PadLength