Post on 04-Apr-2018
7/29/2019 Edu Cat en Kwe Fx v5r17 Knowledge Expert Exercise Book
1/25
Student Notes:
Knowledge Expert
Copyright DASSAULT SYSTEMES
Co
pyrightDASSAULTSYSTEMES
Knowledge Expert
CATIA TrainingExercises
Version 5 Release 17September 2006
EDU-CAT-EN-KWE-FX-V5R17
7/29/2019 Edu Cat en Kwe Fx v5r17 Knowledge Expert Exercise Book
2/25
Student Notes:
Knowledge Expert
Copyright DASSAULT SYSTEMES
Co
pyrightDASSAULTSYSTEMES
Table of Contents
Knowledge Expert Exercises 3
Connector Recap Exercise 4
LBlock Master Exercise 15
7/29/2019 Edu Cat en Kwe Fx v5r17 Knowledge Expert Exercise Book
3/25
Student Notes:
Knowledge Expert
Copyright DASSAULT SYSTEMES
Co
pyrightDASSAULTSYSTEMES
Knowledge Expert ExercisesYou will practice creating and using Expert Rules and Expert Checks throughtwo exercises:
Connector Recap ExerciseLBlock Master Exercise
7/29/2019 Edu Cat en Kwe Fx v5r17 Knowledge Expert Exercise Book
4/25
Student Notes:
Knowledge Expert
Copyright DASSAULT SYSTEMES
Co
pyrightDASSAULTSYSTEMES
ConnectorRecap Exercise Presentation
40 min
In this exercise, you will practice:
Creating an expert rule
Creating an expert check
Solving a rule base
Generating a report on expert checksStoring the rule base in a new catalog
Instantiating a rule base on a new design
7/29/2019 Edu Cat en Kwe Fx v5r17 Knowledge Expert Exercise Book
5/25
7/29/2019 Edu Cat en Kwe Fx v5r17 Knowledge Expert Exercise Book
6/25
Student Notes:
Knowledge Expert
Copyright DASSAULT SYSTEMES
Co
pyrightDASSAULTSYSTEMES
Step 1: Create an expert
rule and solve the rule base
Design Process: Connector
Step 2: Create an expert checkand solve the rule base
Step 3: Generate acheck report
Step 4: Store the rulebase in a catalog and
reuse it
7/29/2019 Edu Cat en Kwe Fx v5r17 Knowledge Expert Exercise Book
7/25
Student Notes:
Knowledge Expert
Copyright DASSAULT SYSTEMES
Co
pyrightDASSAULTSYSTEMES
ConnectorStep 1 - Create an Expert Rule and Solve the Rule Base
10 min
In this step you will:
Create a new rule set
Create a new expert rule
Solve the rule base
7/29/2019 Edu Cat en Kwe Fx v5r17 Knowledge Expert Exercise Book
8/25
Student Notes:
Knowledge Expert
Copyright DASSAULT SYSTEMES
Co
pyrightDASSAULTSYSTEMES
Create an Expert Rule and Solve the Rule Base
Open: Connector_Start.CATPart
1. Check the parameters value of Shell.1 feature inPartBody.
2. Open the Knowledge Expert Workbench and create a newexpert rule set called RuleSet_On_Shells.
3. Create a new Expert Rule calledKWERule_Shell_Thickness_0.9.This rule will apply to all the features of type Shell and willset their inside thickness to 0.9mm and their outside
thickness to 0mm. Use the Object Browser to edit this rule.
4. Run a Complete Manual Solveon the Rule Base and checkthat Shell.1 parameters value have changed.
7/29/2019 Edu Cat en Kwe Fx v5r17 Knowledge Expert Exercise Book
9/25
Student Notes:
Knowledge Expert
Copyright DASSAULT SYSTEMES
Co
pyrightDASSAULTSYSTEMES
ConnectorStep 2 - Create an Expert Check and Solve the Rule Base
10 min
In this step you will:
Create a new rule set
Create a new expert check
Solve the rule base
7/29/2019 Edu Cat en Kwe Fx v5r17 Knowledge Expert Exercise Book
10/25
Student Notes:
Knowledge Expert
Copyright DASSAULT SYSTEMES
CopyrightDASSAULTSYSTEMES
Create an Expert Check and Solve the Rule Base
1. Create a new rule set called RuleSet_On_EdgeFillets.
2. Create a new Expert Check calledKWECheck_ConstantEdgeFillets_1mm.
This check will apply to all the constant EdgeFillets
features. It will verify that their radius is equal to 1mmand that they are Active.
3. You can also type a Help Messagein the Reporttab.
4. Run a Complete Manual Solveon the Rule Base and
select Highlight Failed Componentscommand. Notice
that 2 fillet features dont respect the Expert Check.
7/29/2019 Edu Cat en Kwe Fx v5r17 Knowledge Expert Exercise Book
11/25
Student Notes:
Knowledge Expert
Copyright DASSAULT SYSTEMES
CopyrightDASSAULTSYSTEMES
ConnectorStep 3 - Generate a Check Report
5 min
In this step you will:
Modify the Rule Base Settings
Generate a Check Report
7/29/2019 Edu Cat en Kwe Fx v5r17 Knowledge Expert Exercise Book
12/25
Student Notes:
Knowledge Expert
Copyright DASSAULT SYSTEMES
CopyrightDASSAULTSYSTEMES
Generate a Check Report
1. Modify the Rule Base settings (accessible from itscontextual menu): select an output directory for thereport files and set visualization type to Both ifneeded.
2. Select the Check Analysis Toolboxicon and generatethe check report.
3. If the report does not open automatically, open the filemain.html located in the output directory with anInternet Browser.
7/29/2019 Edu Cat en Kwe Fx v5r17 Knowledge Expert Exercise Book
13/25
Student Notes:
Knowledge Expert
Copyright DASSAULT SYSTEMES
CopyrightDASSAULTSYSTEMES
ConnectorStep 4 - Store the Rule Base in a Catalog and Reuse it
15 min
In this step you will:
Create a new Catalog document
Store the Rule base in this Catalog
Reuse the Rule Base in another design.
7/29/2019 Edu Cat en Kwe Fx v5r17 Knowledge Expert Exercise Book
14/25
Student Notes:
Knowledge Expert
Copyright DASSAULT SYSTEMES
C
opyrightDASSAULTSYSTEMES
Store the Rule Base in a Catalog and Reuse It
1. Save your Connector part and create a new Catalogdocument.
2. In a new family, store the rule base containing the rule
and the check in this new catalog. Save it as
Rule_Base_Catalog.catalog.
3. Close all the documents and openCATKWE_New_Connector.CATPart.
4. Import the Rule Base you have just stored in the
catalog, solve it and analyze the results.
7/29/2019 Edu Cat en Kwe Fx v5r17 Knowledge Expert Exercise Book
15/25
Student Notes:
Knowledge Expert
Copyright DASSAULT SYSTEMES
C
opyrightDASSAULTSYSTEMES
LBlock CorrectionMaster Exercise Presentation
30 min
In this exercise you will learn how to:
Define and apply a check correctionfunction.
Define a help message.
Insert a rule base from another document.
Generate a report on expert checks.
7/29/2019 Edu Cat en Kwe Fx v5r17 Knowledge Expert Exercise Book
16/25
7/29/2019 Edu Cat en Kwe Fx v5r17 Knowledge Expert Exercise Book
17/25
Student Notes:
Knowledge Expert
Copyright DASSAULT SYSTEMES
C
opyrightDASSAULTSYSTEMES
Step 1: Define an ExpertCheck and a corrrection
function
Design Process: LBlock Correction
Step 2: Solve the RuleBase
Step 3: Launch thecorrection function
Step 4: Import the RuleBase in another design
and solve it
7/29/2019 Edu Cat en Kwe Fx v5r17 Knowledge Expert Exercise Book
18/25
Student Notes:
Knowledge Expert
Copyright DASSAULT SYSTEMES
C
opyrightDASSAULTSYSTEMES
LBlock CorrectionStep 1 - Define a Correction Function
Create an expert check.
Define a correction function.
In this step you will:
10 min
7/29/2019 Edu Cat en Kwe Fx v5r17 Knowledge Expert Exercise Book
19/25
Student Notes:
Knowledge Expert
Copyright DASSAULT SYSTEMES
C
opyrightDASSAULTSYSTEMES
Do It Yourself
Load the CATIA document Lblock.CATPart
1. Create a new expert check named Diameter_Check in the rule set Hole_Checks and defined by the following condition for each
hole : diameter = 10 mm.2. In this check, create a User Function correction function :
Define the following correction comment : Hole diameterchanged (Go to VB Script).
Define the following help message : Diameter value of someholes must be changed
Hide formulas in specification tree.
H.Diameter=10mm
7/29/2019 Edu Cat en Kwe Fx v5r17 Knowledge Expert Exercise Book
20/25
Student Notes:
Knowledge Expert
Copyright DASSAULT SYSTEMES
C
opyrightDASSAULTSYSTEMES
LBlock CorrectionStep 2 - Solve the Rule Base
Solve a rule base
Highlight failed features
5 min
In this step you will:
7/29/2019 Edu Cat en Kwe Fx v5r17 Knowledge Expert Exercise Book
21/25
7/29/2019 Edu Cat en Kwe Fx v5r17 Knowledge Expert Exercise Book
22/25
Student Notes:
Knowledge Expert
Copyright DASSAULT SYSTEMES
C
opyrightDASSAULTSYSTEMES
In this step you will:
LBlock CorrectionStep 3 - Correct Failed Features
5 min
Generate a check report.
Apply the correction function to the failed features.
7/29/2019 Edu Cat en Kwe Fx v5r17 Knowledge Expert Exercise Book
23/25
Student Notes:
Knowledge Expert
Copyright DASSAULT SYSTEMES
CopyrightDASSAULTSYSTEMES
Do It Yourself
1. Generate a Check Report and analyze the results
2. Launch the correction function.
3. Generate a new Checks Report and notice that all holes arenow compliant with the Check condition.
7/29/2019 Edu Cat en Kwe Fx v5r17 Knowledge Expert Exercise Book
24/25
Student Notes:
Knowledge Expert
Copyright DASSAULT SYSTEMES
CopyrightDASSAULTSYSTEMES
Import the Rule Base in anotherdesign
LBlock CorrectionStep 4 Reuse the Rule Base
10 min
In this step you will:
7/29/2019 Edu Cat en Kwe Fx v5r17 Knowledge Expert Exercise Book
25/25
Student Notes:
Knowledge Expert
Copyright DASSAULT SYSTEMES
CopyrightDASSAULTSYSTEMES
Do It Yourself
Load the CATIA document Plate.CATPart
1. Import the Rule Base defined in the last step
2. Solve the Rule Base.
3. Generate the check report.
4. Launch the correction function
5. Generate the report again