Business Process Knowledge Template
Business Process Knowledge Template
Overview
Conventions
What's New?
Getting Started
Generating the User Workbench
Using the User Workbench
Basic Tasks
Setting up the working Environment
Reminder
Creating the Working Environment for the Expert User
Managing the Data Generated by the Expert User
Creating an Environment under Windows
Creating an Environment under Unix
Defining an Application Workbench
Working with technological Objects
Creating a Technological Object
Adding a Component to a Technological Object
Adding an Attribute to a Technological Object
To know more about the Add Attribute Dialog Box
Generating a Report
Working with Behaviors
Creating Behaviors
Combining Behaviors
Defining and Linking Behaviors
Working with Behaviors Patterns
To know more about patterns
Generating a User Workbench
Working with a User Workbench
Testing and Replaying the Process
To know more about the Operate Function...
Fixing a problem
Intervening when Instantiating Objects
Exploiting the Messages Displayed when Executing Behaviors
Managing Errors
Using the Error Check Tool
Working with a User Workbench
Getting Familiar with the End-User Workbench
Executing Behaviors
Editing Behaviors
Business Process Knowledge Template Version 5 Release 14 Page 2
Advanced Tasks
Knowledge Relations: Using the if...else Syntax
Using a Sequential Combination to instantiate a User Feature
Using the Insert Components behavior: Auto update mode
Using the Propagate Execution behavior
Using the Onxxx Behaviors
Using the Knowledge Certify Behavior
Using the Instantiate Template Behavior
Designing a Table using the Generate Component Behavior
Using the Loop Behavior
Use Cases
Creating a User Workbench: Indirect Vision
Before you start
Setting up the Working Environment
Creating technological Objects
Defining the "Define Vehicle Data" Combination for the IndirectVision object
Defining the "Define Driver" Combination on the IndirectVision Object
Defining a "Compute optimal Mirror" sequence for the Indirect Vision technological Type
Defining a "Generate Report" Behavior on the Indirect Vision technological Type
Defining a "Generate Indirect Field of View for a planar Mirror" Combination on the Driver
technological Type
Defining a "Check Driver Position" Behavior on the Driver technological Type
Generating the User Workbench
Designing the external Mirror
Computing the optimal Mirror
Optimal CATIA PLM Usability for Business Process Knowledge Template
Reference Information
Introducing the Structure Behaviors
Logical Combination
Sequential Combination
Loop Behavior: Data Sheet
Generate Components Behavior: Data Sheet
Introducing the Infrastructure Behaviors
Implementation Behaviors
VBScript Behavior
Command Behavior
URL Behavior
ActiveX URL Behavior
System Behavior
IO Based Behaviors
Link Input From Behavior
Synchronize Parameters Behavior
Bind Behaviors
Bind Object Behavior
Bind Reference Behavior
Bind Parameter Behavior
Bind Instance Behavior
Bind Type Behavior
To know more about the Bind Mechanism...
Business Process Knowledge Template Version 5 Release 14 Page 3
List Behaviors
Add item Behavior: Data Sheet Behaviors
Remove item Behavior: Data Sheet Behaviors
Get item Behavior: Data Sheet Behaviors
Propagate Execution Behavior
Information Behavior
Add Type Behavior
Introducing the Design Behaviors
Reuse Behaviors
Instantiate Template Behavior
Create External Reference Behavior
Copy/Paste Behavior
KWScript Behavior
Document Behaviors
Load Document Behavior
Create New From Behavior
FilterCatalog Behavior
Bind Behaviors
Bind PowerCopy Behavior
Bind UDF Behavior
Bind Part Behavior
Bind Publication Behavior
Bind Product Instance Behavior
Display in Window Behavior
Insert Components Behavior
Knowledge Relations Behavior
Knowledge Certify Behavior: Data Sheet
Introducing the Event-based Behaviors
On Done Behavior
On Create Behavior
On Remove Behavior
On Cancel Behavior
Workbench Description
Type Tools Toolbar
Knowledge Tools Toolbar
Design Tools Toolbar
Infrastructure Tools Toolbar
Technological Object Toolbar
User Application Toolbar
Specification Tree Description
Interface Description
Customizing
Glossary
Index
Business Process Knowledge Template Version 5 Release 14 Page 4
Overview
Welcome to the Business Process Knowledge Template User's Guide. This guide is intended for users who need
The CATIA - Business Process Knowledge Template solution allows companies to capture their business
processes, and to share and deploy them through dedicated workbenches. An expert can model any corporate
best practices and know-how. From complex conceptual studies in the automotive to airframe structure
generation, the expert captures, automates design and engineering tasks, and embeds core-knowledge rules
and checks within those tasks. As a result, he delivers the captured best practices through a specific pseudo-
application including all the required features and processes.
To reach that objective, the CATIA - Business Process Knowledge Template solution takes advantage of the
range of CATIA V5 products.
Finally, the end-user can access these pseudo-applications, as he can access any CATIA V5 products. He can
then create products while following a pre-defined methodology, resulting from the corporate best practices
definition and capture provided by the experts.
The Business Process Knowledge Template solution is divided into an authoring product, CATIA - Business
Process Knowledge Template 3 (BKT), and an end-user solution, CATIA - Business Process Knowledge Template
2 (BK2).
Creating a design assistant supposes that, beforehand, the corporate processes and best practices have been
identified. By using CATIA - Business Process Knowledge Template 3 (BKT), an expert can capture and capitalize
this knowledge, packing and combining the corporate processes and best practices inside a pseudo-application.
In order to ensure a global process coverage, these applications can be enriched by several experts, coming
from different disciplines.
This knowledge capture is made in the CATIA environment through its interface.
From the identified processes and practices, the expert organizes the different design tasks and creates tasks
sequences. All the CATIA products functionalities can be inserted and reused in a design sequence as a result of
the V5 knowledge-based architecture.
The created tasks and the entire sequences can be automated. Complex or repetitive sequences, for example,
can then be run automatically. If needed, users can also perform these sequences manually, task by task.
The creation of a pseudo-application using CATIA - Business Process Knowledge Template 3 (BKT) benefits from
the CATIA V5 functionalities. An expert can use, without coding, the different building blocks provided by the V5
portfolio products and combine them altogether.
The result of this building process is a dedicated pseudo-application workbench generation integrated into the
V5 environment. The end-user benefits from the CATIA V5 products and generated pseudo-applications
synergy.
The pseudo-applications created using CATIA - Business Process Knowledge Template 3 (BKT) benefit from the
user friendly CATIA V5 interface. They embody the deployment of the corporate knowledge and know-how
within the V5 frame and consistency with the other V5 portfolio applications.
Finally, the end-user can access, in a V5 environment, one or several specific pseudo-environments, each
embodying specific best practices.
To get the most out of this guide, you should start with the tutorial in the Getting Started section.
The remaining sections of the book describe in detail the procedures for using all of the features of the Business
Process Knowledge Template product. The procedures are divided into basic, advanced, and customization
sections.
To perform the scenarios, you will be using sample documents contained in the online/bktug/samples folder.
For more information about this, refer to Accessing Sample Documents in the Infrastructure User's Guide.
Conventions
Certain conventions are used in CATIA, ENOVIA & DELMIA documentation to help you recognize and understand
important concepts and specifications.
Graphic Conventions
The three categories of graphic conventions used are as follows:
a target of a task
the prerequisites
a tip
a warning
information
basic concepts
methodology
reference information
Site Map
What's New?
Overview
Getting Started
Basic Tasks
Workbench Description
Customizing
Reference
Methodology
Glossary
Business Process Knowledge Template Version 5 Release 14 Page 9
Index
Text Conventions
The following text conventions are used:
● The titles of CATIA, ENOVIA and DELMIA documents appear in this manner throughout the text.
● File -> New identifies the commands to be used.
● Enhancements are identified by a blue-colored background on the text.
Use this
mouse button... Whenever you read...
● Drag
● Move
What's New?
Enhanced Functionalities
3D PLM Integration
Document Chooser integration and support of DLNames
You can now customize the document environment in order to select documents or paths using
various interfaces (folder, SmarTeam, and so on). The interface can be customized for a folder or DLName
path selection interface. Note that only catalogs can be accessed using this capability in Business Process
Knowledge Template. To know more, refer to the Document topic in the CATIA Infrastructure User's Guide.
Business Process Knowledge Template Version 5 Release 14 Page 11
Getting Started
The following short tutorials provide an introduction to the Business Process Knowledge Template product.
They are intended to give expert users (P3 scenario) and end-users (P2 scenario) a feel for the product's
capabilities in 2 step-by-step scenarios.
This scenario is taken from the interior packaging domain of vehicle design. Here the user instantiates
passengers into a vehicle.
This topic provides the expert user with a short example. In this scenario, he will create an application
that will enable him to instantiate passengers into a vehicle. He will be able to select the government
legislation to be tested, the automotive standard as well as the number of passengers.
● BktDriver2D50Male.CATPart
● BktDriver2D95Male.CATPart
● BktPassenger-2D-5-Female.CATPart
● BktPassenger-2D-50-Female.CATPart
● BktPassenger-2D-95-Male.CATPart
● BktManikins.catalog
These files are to be saved in specific directories. To know more, see Creating the Working
Environment for the Expert User.
● Creating a technological type, called Interior. This type will be instantiated into the user
workbench.
● Adding attributes to the technological type: These attribute will enable the user to filter the
catalog containing the manikins to insert.
● Adding behaviors to the technological type: The user creates a sequence that is made up of
the following behaviors:
Template workbench.
❍ Click the Create Technological Type icon ( ) to create a type. The Create
technological type dialog box displays.
❍ Click OK to validate.
Object.
Adding Attributes
● Click the Interior type in the specification tree and click the Add Attribute icon (
● In the Type scrolling list, select String. The attribute is an input of the technological
type that will be changed by the end-user (if need be).
● Click OK to validate. Double-click the Interior type: Legislation now displays in the
Attributes tab.
● Click the Interior type in the specification tree and click the Add Attribute icon (
● In the Type scrolling list, select String. It is an input of the technological type that
will be changed by the end-user (if need be).
● Click the Interior type in the specification tree and click the Add Attribute icon (
● In the Type scrolling list, select Integer. This is an input of the technological object
which enables the end-user to modify it.
● Click OK to validate.
6. Save your file (name it T1 for example) in the directory specified by the environment variable
❍
Click the Generate Applicative
Workbench icon ( ).
In the Workbench Name field of
scenario.
Product
Click OK to validate.
❍ Click OK in the File Name dialog box. A new application opens corresponding to
8. Instantiate the technological object and associate it with the product. To do so, proceed as
follows:
● Click the root product in the specification tree to activate your workbench
Business Process Knowledge Template Version 5 Release 14 Page 16
Using the Interior contextual menu, the user can edit the definition of
the Interior technological object : He can modify the attributes values,
and add local attributes.
The product is now extended by the data of the technological object. If you open the F(x) editor, you
will see the product parameters as well as the technological object parameters. The product is typed
Interior and inherits from the behaviors of the technological type Interior that are still to be defined.
Go back to BKT workbench to define the behaviors that you want to associate with the technological
type.
Adding behaviors to the technological type: Define Passengers. The expert user
wants the end-user to instantiate data from a catalog depending on the standard, the
legislation and the manikin type (driver or passenger). The system instantiates the
number of instances specified by the user.
10. Click the Interior type and click the Sequential Combination icon ( ) in the Structure toolbar.
SequentialCombination displays in the Behaviors View in the specification tree.
11. Double-click SequentialCombination in the Behaviors View, then double-click Interior in the
12. Double-click the SequentialCombination in the Behaviors tab. The Sequential Combination
editor displays.
❍ Click the Icons... button to associate an icon with the behavior (optional).
Business Process Knowledge Template Version 5 Release 14 Page 17
❍ Click OK to validate.
13. Click the Define passengers behavior in the Behaviors tab and click the Filter Catalog behavior
14. Double-click the Filter Catalog behavior in the Behaviors tab. The Filter Catalog editor displays.
❍ Click the button in the Catalog document field to select the BktManikins.catalog file.
This catalog contains manikins matching the US and the EEC legislations.
If the catalog is stored in the CATGraphicPath directory, indicate only the name of
❍
Add attributes to specify the query that will filter the catalog contents. To do so,
proceed as follows:
1. In the Filtering Keywords field, click the Add button. The Attribute Panel
displays.
1. In the Filtering Keywords field, click the Add button. The Attribute Panel
displays.
1. In the Filtering Keywords field, click the Add button. The Attribute Panel
displays.
Note that the names of the variables added in this field are identical
For the catalog to reuse the same value as the one defined in the technological object attributes,
establish links between the parameters of the behavior and the attributes of the technological object.
To do so, proceed as follows.
Business Process Knowledge Template Version 5 Release 14 Page 19
15. Expand the Filter Catalog node and right-click the Name attribute, select the Name object-
>Link to command, expand the Interior variables node and click the Standard attribute.
16. Right-click Legislation, select the Legislation object->Link To command, expand the Interior
17. Save your file and retest it. To do so, go back to the user workbench.
18. Right-click Interior and select the Interior (Product) object-> Define passengers
As you can see, the catalog was filtered: only the passengers matching the EEC legislation display.
Business Process Knowledge Template Version 5 Release 14 Page 21
19. Double-click one of the manikins. The manikin is still not loaded.
❍ Double-click the Legislation attribute and enter US in the Edit Parameter dialog
box.
❍ Double-click the Standard attribute and enter SAE in the Edit Parameter dialog
box.
21. Right-click Interior and select the Interior (Product) object-> Control_Define passengers
command.
23. Right-click Interior and select the Interior (Product) object-> Define passengers
Business Process Knowledge Template Version 5 Release 14 Page 22
command.
The Catalog Browser displays. As you can see, the catalog was again filtered: only 2 manikins are
available.
To load the manikin document into the current session, you need the Load behavior.
25. Click the Define Passengers combination and click the Load icon ( ). LoadDocument
displays in the Behaviors tab.
26. Double-click the LoadDocument node in the Behaviors tab. The Load Document editor
displays.
27. Click the File path field, expand the FilterCatalog variables node and select Chosen Path. It
contains the path of the document selected by the user in the Catalog Browser. Click OK to
validate.
28. Click the Define Passengers combination and click the BindObject icon. BindObject displays in
29. Double-click the BindObject node in the Behaviors tab. The Bind Object editor displays.
❍ Click OK to validate.
Now you want to insert your product. To do so, you have to use the Insert component behavior.
30. Click the Define Passengers combination and click the Insert Components icon ( ).
InsertComponents displays in the Behaviors tab.
31. Double-click the InsertComponents node in the Behaviors tab. The Insert Components editor
displays.
component.
❍ Click the Existing component field, expand the LoadDocument variables node and
❍ Click the Father Product field to specify the instantiation context, expand the
BindObject variables node and select the output Link. =Link displays in the field.
❍ Click OK to validate.
32. Expand the InsertComponents variables node, right-click the Number attribute, select the
33. Save your file in the \CATGraphicPath directory and test it one last time. Click here to display
the final .CATfct file (if you want to use it, open it and change the Filter catalog file path).
35. Select the root product and click the Interior icon (if any) or check box. The Interior type is
36. Right-click the Interior (Product1) object in the tree and select the Interior (Product1)
● Legislation:
EEC
● Standard:
SAE
37. In the Catalog, double-click the BKTPassenger-2D-5-Female manikin. The manikins are
inserted. (Use the compass if the manikins overlap in order to separate them.)
39. Double-click the NumberOfPassengers attribute, set it to 1, and click OK to validate. One
Business Process Knowledge Template Version 5 Release 14 Page 26
manikin is removed.
Business Process Knowledge Template Version 5 Release 14 Page 27
This scenario enables the end-user to instantiate a manikin into a product using the workbench
generated by the expert user.
● We assume that the end user is provided with the P2 license and not the P3 one.
● If the T1 workbench is not available in the Start menu, contact your expert user for him to copy
the files that he generated in the Generating the User Workbench topic into the appropriate
directories and to generate the workbench to enable you to replay this scenario.
You are now in the user workbench. The items defined in the *.CATfct file display in the toolbar located
in the right part of the screen. Note that the icons might be replaced with empty check boxes if no
icons were associated with the created types when the expert user defined the *.CATfct file.
3. Select the root product in the specification tree and click the icon to activate your
workbench (if need be).
4. Select the product and click the Interior icon. The Interior type is assigned to the root
product.
Business Process Knowledge Template Version 5 Release 14 Page 28
5. Right-click the Interior (Product1) object in the tree and select the Interior (Product1)
● Legislation:
EEC
● Standard:
SAE
9. Double-click the Legislation variable (attribute) and set it to US. Click OK to validate.
10. Right-click the Interior (Product1) object in the specification tree and select the Interior
11. Click Yes in the dialog box when asked if you want to withdraw Define Passengers.
12. Right-click the Interior (Product1) object in the tree and select the Interior (Product1)
13. Select the BktPassenger-2D-95-Male manikin and click OK. The manikin is inserted.
Business Process Knowledge Template Version 5 Release 14 Page 31
Business Process Knowledge Template Version 5 Release 14 Page 32
Basic Tasks
This section contains explanations and scenarios showing the expert user how to create workbenches by
creating technological objects and basic behaviors. It also shows end-users how to use a workbench
generated by the expert user.
Defining a Workbench
The information provided in these topics are designed to help the administrator:
Reminder
Creating the Working Environment for the Expert User
Managing the Data Generated by the Expert User
Creating an Environment Under Windows
Creating an Environment Under Unix
Business Process Knowledge Template Version 5 Release 14 Page 35
Reminder
What is an environment?
An environment is a set of runtime environment variables. Each variable points to a path searched by the
software when you start a session.
A global environment can only be created by a Windows administrator, or the root userid on UNIX. For example,
the default environment created at installation is a global environment: "global" means that it is visible to and
can be used by all users on the computer on which it has been set up.
Global environments can only be created, edited or deleted by a Windows administrator, or the root userid on
UNIX.
A user environment is visible to and can be used and manipulated (customized or deleted) only by the user who
created it.
Customizing your runtime environment means providing different values for the runtime variables in your
default environment, or setting up new environments.
● Delete environments
The runtime environment variables to be modified by the administrator are listed in the table below:
CATReferenceStandardPath Default reference standard path for standards (for example, 3D graphics
standards). Directory used by the administrator to deploy the workbench
generated by the expert user
To know more, see the CATIA Administration and Installation User's Guide.
Business Process Knowledge Template Version 5 Release 14 Page 37
This topic explains how to create a working environment for the expert user. It is highly recommended for the expert user to
create a set of directories before he starts creating the workbench. This way, once the he is finished with the workbench
creation, the administrator copies the required data generated by the expert user into the appropriate directories.
First method
1. Create a tree structure similar to the one below. (In this example the tree structure is located on the e: drive, the "1"
located at the end of BKT1 indicates that the expert user can attribute whatever name to this directory.)
4. In the opening dialog box, enter the name of the environment to be created, BKT1 in this example.
5. Enter the path of your installation folder. The default installation folder path is:
7. Edit the CATUserSettingPath variable. Enter your settings (see picture below).
Business Process Knowledge Template Version 5 Release 14 Page 38
8. Exit the Environment Editor and click Yes to save your changes. Your environment is ready now you can start
Second method
3. In the opening dialog box, enter the name of the environment to be created, BKT1 in this example.
4. Enter the path of your installation folder. The default installation folder path is:
●
Right-click the CATGraphicPath variable, select the Edit variable command and concatenate your path
(e:\BKT1\intel_a\resources\graphic) into the existing one (insert your data at the end of the existing path). What
you get onscreen should be similar to the picture below.
Business Process Knowledge Template Version 5 Release 14 Page 39
●
Right-click the CATStartupPath variable, select the Edit variable command and concatenate your path
(e:\BKT1\intel_a\startup) into the existing one. What you get onscreen should be similar to the picture below.
●
Right-click the CATUserSettingPath variable, select the Edit variable command and enter the following path:
e:\BKT1\CatSettings1
What you get onscreen should be similar to the picture below.
Business Process Knowledge Template Version 5 Release 14 Page 40
7. Exit the Environment Editor and click Yes to save your changes. Your environment is ready now you can start
Remember to save the files you create (.CATfct for example) or the files you reuse (.CATPart, CATProduct, CATScript files...)
in the appropriate directories. If not, you will not be able to generate the end-user workbench.
Copy ● .CATfct files Into the \CATGraphicPath directory. If this directory does not
exist, create the folder E:\temp. Make sure that this
● .CATPart files folder is empty when beginning the scenario. The data
will be saved here by the VBScript automation.
● .CATProduct files
● .CATProcess files
● .CATDrawing files
● .catalog files
● .CATvbs files
Copy The icons that you associated Into the …\CATGraphicPath\icons\Normal directory.
with the behaviors you created (if
any).
Business Process Knowledge Template Version 5 Release 14 Page 41
Note ● The CATSettings files created when generating the user workbench are stored in the CATSettings directory.
● If the expert user wants to use the applications made available by the administrator, he can use the
Environment Administrator to concatenate his data.
● The expert user should copy the following data into the CATSettings path: Files starting with B_ and the
FrameConfig file. (see picture below.)
The files generated by the expert user when creating the end-user workbench will be copied by the administrator into the
appropriate directories and deployed by him.
Business Process Knowledge Template Version 5 Release 14 Page 42
This topic is designed to provide the administrator with the guidelines required to deploy the workbench
generated by the expert user.
To deploy the workbench(es) generated by the expert user the administrator should:
1. Create (or copy) the same tree structure as the expert user. To get an example, see Creating
2. Copy the CATSettings files generated by the expert user into his CATSettings directory (note
3. Concatenate the data generated by the expert user with his data.
When creating the user environment, make sure to select the Global mode in the
Environment editor for the application to be available to all users.
Business Process Knowledge Template Version 5 Release 14 Page 43
This task is designed to help the administrator create a user environment under Windows using
the Environment Editor.
To know more, see the CATIA Administration and Installation User's Guide.
1. Select the
4. In the opening dialog box, enter the name of the environment to be created.
5. Enter the path of your installation folder. The default installation folder path is:
The type can be user or global (global is available only for administrators only). If you are
logged on as a normal end user, the type is set automatically to "user".
8. Check the Add Desktop Icon option if you want to create a desktop shortcut and an
This task is designed to help the administrator create a user environment under UNIX.
There is now an interactive tool available for customizing values for runtime environment
variables: the catiaenv command.
● aix_a
● hpux_a
● irix_a
● solaris_a.
The Environment Editor appears. The user interface and functions are the same as under
Windows. For more information, refer to Creating an Environment Under Windows.
● aix_a
● hpux_a
● irix_a
Business Process Knowledge Template Version 5 Release 14 Page 46
● solaris_a.
To get the full list of options for the command setcatenv, see the CATIA Administration
and Installation User's Guide.
Business Process Knowledge Template Version 5 Release 14 Page 47
The topics of this section are designed to help the expert user create a new application.
The purpose of defining an application is to deliver efficient user interfaces to dedicated users. The purpose of BKT is to rely on
the CATIA V5 interface for an expert user to quickly program such applications by using building blocks such as catalogs,
document templates, UDFs, and V5 commands. The expert user can organize and control the various building blocks by the
means of behaviors pertaining to an object called a technological object. This object will enable the end-user to put in action the
right building blocks combination at the right time.
The diagram below provides the expert user with an overview of an applicative workbench definition process.
The "building blocks" used by the expert user are ordered depending on their families (see graphic below.) Refer to the Working
with Behavior Patterns topic to see examples of behavior combinations.
Business Process Knowledge Template Version 5 Release 14 Page 48
A technological object is an object used in the Business Process Knowledge Template workbench.
A technological object is made up of three sets of components:
● A type
● A set of attributes
(variables)
● A set of behaviors
A type
Expert users can create their own types in Business Process Knowledge Template.
An engine, a gearbox or a windshield can be potential types.
Attributes are added to the technological object and are located in the types hierarchy.
There are three different types of attributes:
Input attributes will be valuated by the user. Inputs are requirements, target values, working
hypothesis. For an engine for example, the number of cylinders is considered as an input.
Output attributes cannot be modified by the user. Outputs are valuated by behaviors.
For an engine, the power and the swept volume are considered as outputs.
Internal attributes are never seen by the user. This attribute type is used by the behaviors and is
used for storing intermediate results.
A set of behaviors
Technological objects can be associated with structured CAD elements such as Parts, Products, Part Bodies and
other Bodies (Geometrical Set). They can contain other technological objects.
The Business Process Knowledge Template workbench provides the expert user with an interface that he can
use to define and drive object types and sub-types, and attributes.
This task explains how to create a technological object using the Business Process Knowledge
Template workbench and how to add sub-types to this object.
2. Click the Create Technological Type icon ( ). The Create technological type dialog
box opens.
3. Enter the name of the object, Manikin in this scenario and click OK.
4. Click the Manikin object in the Feature Dictionary tree and click the Create technological
5. Enter the name of the sub-type, Driver in this scenario and click OK to validate.
6. Save your file, keep the file open and proceed to the next task: Adding an Attribute to a
Technological Object.
Please note that types names should not contain spaces and non-alphanumeric
characters.
Business Process Knowledge Template Version 5 Release 14 Page 53
What is a component?
A user can define that a technological object is
made up of instances of other technological
objects.
An engine is made up of 4 pistons, and 6
connecting rods for example. In this case, the
pistons and the connecting rods are the
components of the engine.
The composition enables the user to formalize the relations existing between different technological types
(technological objects).
Note that:
● The composition is a persistent notion. A derived type inherits the components defined on the father.
● In the user workbench, the father object can provide users with the lists of its components.
To create a component, select the type to which the component will belong and click the Add components
To get an example, see Designing a Table using the Generate Component Behavior.
Business Process Knowledge Template Version 5 Release 14 Page 55
This task explains how to add an attribute to a technological object. See also To know more about the Add
Attribute dialog box...
1. In the specification tree, select the type (here Manikin) to which you want to add an attribute and click the
3. Double-click Manikin: The Percentile attribute displays in the Local attributes field.
4. Click the Driver sub-type in the FeatureDictionary tree and click the Add Attribute icon ( ). The Add
Attribute dialog box displays.
Business Process Knowledge Template Version 5 Release 14 Page 56
Angle.
default value.
Save your file and proceed to the next task: Generating a Report.
● Note that the number of attributes added to a technological object is not limited.
● Note that an attribute name cannot be modified once it is created. To modify it, delete it and
create a new attribute.
Note that sub-types inherit the attributes from their super types. In the example above, Driver inherits the
attributes from Manikin.
Business Process Knowledge Template Version 5 Release 14 Page 57
You can access the Add Attribute dialog box by clicking the Add Attribute icon ( ) in the toolbar.
Class Depends on the item selected in the Feature Dictionary tree to which you want to add attributes
Name: (variables).
Name: Enter the name that you want to assign to the attribute (variable).
Type: Enter the type of the attribute (variable). The types displayed in this scrolling list are the same
types available in the Knowledge Advisor product. 2 types were added:
● Object: Enables the user to point to a V5 feature located in the same document on in another
document.
When pointing to another object located in another document, the pointed object and the
object that points the other object will both be loaded when loading.
● ExternalObject: Enables the user to point to a document. The referencing occurs when the
value is needed.
Business Process Knowledge Template Version 5 Release 14 Page 58
The user can use the List type to
create lists of points, lines,
objects...
Note that the attributes of a technological type can be accessed by double-clicking the type in the Classes
View or by expanding the variables node of a behavior.
Business Process Knowledge Template Version 5 Release 14 Page 59
Generating a Report
This task shows how to generate a report that displays the technological objects and their sub-types.
This function allows you to generate an external HTML file. The report will display all the objects located under the
Classes View and the Referenced Dictionary of the specification tree. It will also display all the variables (attributes)
associated with an object.
1. Click the Generate Report button . The Save User Dictionary Report dialog box will display.
2. Navigate to the directory where you want to save the file, give the file a name and save it. The report will be
The information
provided in those
files are the
following:
● Types and
sub-types
● Variables
(attributes)
assigned to
the types
● Creating Behaviors
● Combining Behaviors
● Linking Behaviors
A behavior is a set of tasks performed on a technological object. It can be a V5 command, a CAA command, an
external application, a VBA Command, or a behavior defined in BKT. It enables expert users to capture
sequences of tasks that are manually performed in V5, and enables end-users to use the knowledge contained
in the behaviors to perform tasks and procedures related to the technological object.
A name and an optional Name displayed in the end-user workbench. The comment associated with
comment this name can help the end-user understand the behavior function.
● Creates behaviors
Business Process Knowledge Template Version 5 Release 14 Page 62
● Combines existing behaviors
● Loop
● Generate Component
Bind Behaviors: Enable to access resources not yet available at the definition
stage.
Event-based Behaviors Enable to define what element reacts and how it reacts when something happens.
Reuse:
● Generative Script
Document:
● Query in catalog
Knowledge Relations Enable to define rules, checks and formulas that need to be validated during the
process or add logical control to the model.
Business Process Knowledge Template Version 5 Release 14 Page 63
Note that it is now possible for the user to add attributes of List type to behaviors. To know more, see To know
more about the Add Attribute dialog box...
The Definition tab contains the information that needs to be specified for the behavior to execute correctly. To
know more about this tab (specific to every behavior), see the documentation related to the various behaviors.
This tab contains the information required for the behavior execution.
Behavior States
The scrolling list enables the expert user to define who can see the behavior.
Activate: If not checked, the behavior will not be part of the execution process.
AutoDelete: If checked, the expert user does not want to keep track of the behavior execution and the
behavior is removed after it is executed.
Focus: If checked, no other behavior asking for the focus will be started till the current behavior is executed.
Update
Icon Definition
This field enables the expert user to modify the icon identifying the Behavior in the behaviors tree and in the
user workbench. A set of icons is available from the Icons... button. If you click this button, the Icon Browser
opens showing all icons loaded in your CATIA session.
To associate an icon with a technological object, define a name: I_nametype. For example for the
technological object Interior, the icon name is: I_Interior. To save the created icons in the appropriate
directory, see Setting up the working Environment.
Filter Local/All
Input/Output
● Done
● Suspended
● Canceled
Note that:
● The behavior is also provided with a property defining if it can execute or not. As long as the inputs are not
valuated, this behavior cannot operate ( ).
● Behaviors attributes can be accessed by clicking the Attributes tab in the behaviors interfaces or below the
behaviors in the Behaviors tree.
browser.
3. Click OK to validate.
Creating Behaviors
Linking Behaviors
Combining Behaviors
Working with Behaviors Patterns
Reference Information
Business Process Knowledge Template Version 5 Release 14 Page 67
Creating Behaviors
Combining Behaviors
By using already defined building blocks, the expert user can create a new behavior. He can use combination
behaviors (Logical and Sequential Combinations) that can contain the components of the new behavior.
Business Process Knowledge Template Version 5 Release 14 Page 69
Linking Behaviors
A user workbench is made up of different behavior models and types combined by the expert user. Links
created between behavior variables (attributes) enable the expert user to define the data flow.
In the example above, for B to be valuated, the user must execute A. The links existing between the behaviors
are known as "data flow". They enable the user to define the order in which the behaviors will be executed.
To link behaviors, the expert user can choose one of the three solutions described below:
- OR -
1. Click the technological object variable (attribute) that you want to link in the Behaviors tree.
3. Click the target behavior variable (attribute). A link ( ) displays next to the linked object.
Business Process Knowledge Template Version 5 Release 14 Page 70
- OR -
To link behaviors, the expert user can also use the user interface of the following behaviors. To know more
about this capability, refer to the following topics:
● Bind behaviors
● Copy/Paste Behavior
● A Bind Object
behavior
● An Insert
Components
behavior
● A Filter Catalog
behavior
● A Sequential
Combination to
retrieve the
publication
containing a Bind
Object on father, and
a Bind publication
● An Import behavior
● A Bind UserFeature
● A Bind Object to
retrieve the part
● An Instantiate
Template (with
UseIdenticalName,
Valuate inputs and
BestStrategy)
● An Information
behavior
● A Behavior whose
failure needs to be
trapped
Business Process Knowledge Template Version 5 Release 14 Page 73
● A Sequential
Combination_1
whose activity is
linked to OUT_Act1
● A Sequential
Combination_2
whose activity is
linked to OUT_Act2
● The blue arrows show how a Bind Object->Bind Reference->Bind Part combination operates.
● The green arrows show how a Bind Object->Bind Product Instance combination operates.
Business Process Knowledge Template Version 5 Release 14 Page 75
This topic provides the expert user with a workbench generation example. To complete this
task, the user may use the CATfct file he created in another topic or he may use the provided
file.
To generate a user workbench and to test it, data should be located in the appropriate
directories as shown below:
Copy ● .CATfct files Into the directory corresponding to the
CATGraphicPath environment variable.
● .CATPart files
● .CATProduct files
● .CATProcess files
● .CATDrawing files
● .catalog files
To know more, see the administrator's topic: Setting up the Working Environment
Business Process Knowledge Template Version 5 Release 14 Page 76
Template workbench.
2. Open the IndirectVisionStep03.CATfct file (or save the .CATfct you are working on in
CATGraphicPath directory).
Vision.
.CATfct.
created.
5. From the Start Menu, select the Indirect Vision workbench. The workbench opens.
This topic provides the expert user with a workbench use example. To complete this task, the
user may use the CATfct file he created in Generating a User Workbench or he may use his own
file.
1. From the Start Menu, select the Indirect Vision workbench (or the workbench you
2. Click the icon to activate your workbench and click the root product. The
workbench is now activated.
3. Click the IndirectVision icon to type your workbench. The product is now typed and
The items displayed below the typed product are the type parameters as well as the those
defined in Catia. Note that the user can filter the parameters/variables displayed using the
Tools->Options menu. To know more see, Customizing the Business Process Knowledge
Template Settings.
● Parameters added to extended objects using the f(x) icon are considered as:
1.
Internal parameters (IN) if prefixed with IN_
2.
External parameters (OUT) if prefixed with OUT_
3.
Neutral if they are not prefixed
This topic provides the expert user with an example showing how to test a workbench.
1. Open the BktKnowledgeRelations.CATfct file. Edit the file path of the LoadDocument
environment.
4. Select the document's root product in the specification tree and click the driver check
>SelectingManikin command.
Business Process Knowledge Template Version 5 Release 14 Page 82
6. Double-click the Legislation variable (attribute) located below the driver (Product1)
>SelectingManikin command.
Fixing a Problem
Exploiting the Messages Displayed When Executing Behaviors
Intervening When Instantiating Objects
To Know More About the Operate Function...
Managing Errors
Business Process Knowledge Template Version 5 Release 14 Page 85
To operate the behavior, that is to say, to update its inputs and execute it, right-click the behavior in the
specification tree and select Operate or Local Update. When operating a behavior in expert mode, the expert
user can select one of the 2 following operating modes:
Fixing a Problem
When testing a user workbench, you may encounter some problems. To solve them, proceed as follows:
Knowledgeware-
>Business Knowledge
2. Expand the sequential combination seen as failed in the specification tree (or in the specifications
view). Edit the failed behavior ( identified by the icon), modify its inputs to fix the problem.
opposite).
4. If the problem is solved and the behavior operates well, open the .CATfct file corresponding to your
Behaviors seen in the user workbench are just instances of those defined in the .CATfct file. For the
corrections made in the user workbench in Expert mode to be saved, the correction should be made
in the original .CATfct file.
Business Process Knowledge Template Version 5 Release 14 Page 87
When instantiating objects i.e. adding a type to a V5 feature, the user can execute tasks (create data that will
be used during the process). To do so, the user should define a VB script whose name has the following format:
TypeName_Instanciate.CATScript
In Expert mode, before executing the VB Script, the following message displays:
If the user selects Yes, the VB script is executed. If the user selects No, it will not be executed.
In Expert mode, the messages displayed enable the expert user to follow-up the behaviors execution. The
expert user is asked for confirmation.
For the combination behaviors, the expert user will be prompted to validate the execution of the combination
internals. The expert user can interrupt the execution whenever he wants. The execution of the behaviors will
start where it stopped when the expert user re-executes the behaviors.
● Enabling expert and end users to better understand the errors that may occur when operating a behavior. There are 5
different errors:
❍ Input Errors made by the expert user when creating a behavior: One of the inputs of a behavior was
incorrectly defined.
❍ Errors made by the end user when using the behavior: The end-user runs a main behavior requiring an
object not yet created.
❍ Warnings: Errors made by the end user when using the behavior: The user cancels the execution of the
behavior. For instance by clicking the Cancel button of an Open file box for the Load behavior.
❍ Execution errors: The LoadDocument behavior enables the user to load a document. If this document does
not exist, a message is raised indicating that the document is missing.
● Enabling expert and end users to fix the problem.
❍ Expert user: Whatever the behavior (main or building blocks of a behavior), he can determine which
behavior is concerned and can edit or deactivate it.
❍ End user: He can only delete or deactivate the main behaviors (or the visible behaviors.)
● Enabling expert and end users to identify the behaviors in error in the specification tree.
● Keeping track of the information for the expert user to fix the problems.
Detecting Errors
The behaviors that are in error display with a in the specification tree. When an error occurs when executing the
application, the following panel displays:
The information about each error is saved at the level of each feature and can therefore be displayed by editing the
behavior. An information field is added to these behaviors (see graphic below) listing the information.
The information provided depends on the User type (expert user, administrator, or end user). In User mode, if an error
occurs on a main behavior or on an invisible behavior, the error is displayed and stored on this main behavior.
This tool is designed to check that the physical name of the created type (technological object) does not already
exist in one of the .Catfct files located in the CATGraphic path.
● The Available Catalogs field lists the .CATfct files located in the CATGraphic path.
● The Selected catalogs field lists the .CATfct files that you selected using the arrow key.
●
The Generate report button enables you to generate a report listing the detected identical type names.
Clicking this icon opens a Save as dialog box. Two file formats are available:
● .xml (the default format) or
● .html
In case of error, the .xml or .html file indicates the types names that are identical and the files containing these
types (see graphic below.)
Business Process Knowledge Template Version 5 Release 14 Page 94
Business Process Knowledge Template Version 5 Release 14 Page 95
● Instantiating Objects
● Operating Behaviors
Workbenches generated using the BKT application are similar to the other CATIA workbenches:
● The toolbar dedicated to the workbench is located in the right part of the window
● The menu bar is similar to the standard CATIA menu bars (see graphic below).
Business Process Knowledge Template Version 5 Release 14 Page 97
Note that the menu bar displayed at the top of the window depends on the Workbench type selected (Product, Part, or System)
by the Expert User when generating the workbench.
To access the Technological Specifications View window, select one object in the specification tree and click the Open the Technological
● The behaviors
● The behaviors
Existing links between the objects are not displayed in this view, the objects are independent from each other.
It is recommended to use this view when working with big assemblies to get a simplified overview of the specification tree.
activate your toolbar, select the root product in the specification tree and click the icon to initialize the assembly context in the
selected product: The toolbar is enabled and you can start instantiating your objects.
Instantiating Objects
To initialize the process and to create your first object, click one of the icons in your workbench toolbar, then select the root product in the
specification tree to assign it the corresponding object type. The name of the root product changes accordingly. Each icon of your workbench
corresponds to one object type. To see how to use objects, see Executing Behaviors.
The objects are assigned behaviors. To access these behaviors, right-click the root product and select the command from the contextual
menu. To see how to execute behaviors, see Executing Behaviors.
Business Process Knowledge Template Version 5 Release 14 Page 99
In the picture below, IndirectVision is provided with 4 behaviors:
● Define driver
● Define target.
Note that:
Available menus
Once a behavior is executed, its name is prefixed with "Control" in the contextual menu
(see picture opposite). If you want to re-execute the behavior:
● A Control Behavior Activity dialog box displays asking if you want to delete the
behavior if it executed correctly when first executing it.
● The Behavior re-executes if it failed when you first executed it. It restarts where it
failed.
Operating Behaviors
After editing a behavior, you may want to re-operate your behaviors. The Operate function enables you to update your features and re-
execute your behaviors. To do so, you can:
●
Click the Operate icon in the Behavior Controls toolbar.
- Or -
Business Process Knowledge Template Version 5 Release 14 Page 100
●
Right-click the object in the specification tree and select the
Operate->Operate command.
To know how to use your workbench, contact the expert user who generated it.
Executing Behaviors
Editing Behaviors
Business Process Knowledge Template Version 5 Release 14 Page 101
Executing Behaviors
To execute a behavior,
proceed as follows:
● Right-click an object
in the specification
tree.
● Select the
Object_Name
object-
>Behavior_Name
command.
RearViewMirror.
1.
If this workbench is not available, contact your expert user for him to copy the files provided
in the Before you start topic into the appropriate directories and to generate the workbench
enabling you to replay this scenario.
You are now in the user workbench. All the items defined in the .CATfct file now display in the toolbar
located in the right part of the screen. Note that the icons might be replaced with empty check boxes if
no icons were associated with the types.
3. Select the product in the specification tree and click the icon to initialize the assembly
context in the selected product.
4. Select the product and click the IndirectVision icon. The IndirectVision type is assigned to the
Business Process Knowledge Template Version 5 Release 14 Page 102
root product.
● Right-click the IndirectVision (Product1) object in the tree and select the IndirectVision
(Product1) object->Define vehicle data command. The file selection window displays.
● Select the BktVehicleData.CATPart and click OK to validate. The vehicle is loaded. Its type
is "Vehicle".
● Right-click the IndirectVision (Product1) object in the tree and select the IndirectVision
(Product1) object->Define driver command. The Catalog browser displays.
● In the catalog browser, select Driver-2D-95%-Male. The behavior instantiates the selected
driver. Click Yes in the Save As dialog box.
Note that if you do not have a e:\tmp file, you will need to edit the path in the
BktSaveLastPart.CATScript.
Business Process Knowledge Template Version 5 Release 14 Page 103
❍ Right-click the IndirectVision (Product1) object in the tree and select the
instantiated.
❍ Click Fit all in to see the target created (see picture below.)
Business Process Knowledge Template Version 5 Release 14 Page 104
Editing Behaviors
This task explains to the end-user how to edit behavior variable (attributes).
This scenario is extracted from the end-user use case Designing the External Mirror.
● Double-click the variable (attribute) to be modified. The Attribute dialog box displays.
● Edit the value of the variable (attribute). Click OK twice to validate and to exit the
Attribute dialog box.
● Update the behavior by clicking the icon or by right-clicking the object in the
specification tree and selecting the Operate->Operate command. (See steps 7 and 9.)
- Or -
● Double-click the
variable (attribute) to
be edited. The Edit
parameter dialog box
displays.
RearViewMirror.
If this workbench is not available, contact your expert user for him to copy the files
provided in the Before you start topic into the appropriate directories and to
generate the workbench enabling you to replay this scenario.
You are now in the user workbench. All the items defined in the .CATfct file now display in the
toolbar located right part of the screen. Note that the icons might be replace with empty check
boxes if you did not associate icons with the created behaviors when defining the .CATfct file.
3. Select the product in the specification tree and click the icon to initialize the
assembly context in the selected product.
4. Select the product and click on IndirectVision icon. The IndirectVision type is assigned
❍ Right-click the IndirectVision (Product1) object in the tree and select the
● Right-click the IndirectVision (Product1) object in the tree and select the
IndirectVision (Product1) object->Define driver command. The Catalog browser
displays.
Note that if you do not have a e:\tmp file, you will need to edit the path in the
BktSaveLastPart.CATScript.
Business Process Knowledge Template Version 5 Release 14 Page 107
displays.
displays.
❍ Double-click the Width variable (attribute). The Attribute dialog box displays.
❍ Expand the Mirror variables node and double-click the modified attributes to
Advanced Tasks
This Advanced Tasks section is intended to help expert users develop Business Process Knowledge Template
user workbenches using more advanced functions.
This scenario aims at providing the expert user with a use example of the Knowledge Relations
behavior. The expert user creates a combination containing a Knowledge Advisor rule that
drives 2 combinations:
● Insert_US, which enables the user to insert a manikin matching US standards.
● Insert_EEC, which enables the user to insert a manikin matching EEC standards.
● Creating a technological type, called Driver. This type will be instantiated into the user
workbench.
● Adding an attribute to the technological type: This attribute will drive the if...then...else
relation and therefore the 2 sequences (Insert_US and Insert_EEC).
● Adding behaviors to the technological type: The user creates a knowledge rule that will
drive 2 sequences of behaviors. These 2 sequences are identical except that the inserted
documents are different. They are based on one of the basic behavior patterns:
● Load Behavior
Template workbench.
❍ Click OK to validate.
❍ Click the Driver type in the specification tree and click the Add
4. Click the Driver type and click the Sequential Combination icon ( ).
SequentialCombination displays in the Behaviors view. Double-click
displays. In the Name field, enter Selecting Manikin, and click OK to validate.
6. Click the Selecting Manikin node and click the Knowledge Relations behavior icon ( )
to create a rule.
7. Double-click the KnowledgeRelation node in the Behaviors tab. The Knowledge Relations
editor displays.
●
Name: Legislation, Type: String.
●
Name: Act_EEC, Type: Boolean, Value: false, Quality: Output
●
Name: Act_US, Type: Boolean, Value: false, Quality: Output
To know more about the Quality field, see To know more about the Add
Attribute dialog box...
Click the Content tab then the Rule icon ( ) in the Knowledge Tools
toolbar to add the rule. The Rule Editor displays.
Enter the name of the rule and click OK to enter the Rule editor.
Business Process Knowledge Template Version 5 Release 14 Page 114
In the Rule Editor, enter the following script in the Rule editor. To do so,
select the objects in the behaviors tree and use the wizard. Click OK
if Legislation == "SAE"
{
Act_EEC = FALSE
Act_US = TRUE
}
else
{
Act_EEC = TRUE
Act_US = FALSE
}
graphic opposite.
10. Link the Knowledge Relation behavior with the Selecting Manikin Combination for the
● Expand the
KnowledgeRelations node
and right-click the
Legislation attribute, and
select the Legislation
object->Link To
command.
Business Process Knowledge Template Version 5 Release 14 Page 115
● Expand the Driver node and click the Legislation attribute. Both attributes are
now linked.
11. Click the Selecting Manikin node in the Behaviors tab and click the Sequential
Combination icon ( ) to add a new combination. This new combination will enable the
user to load a manikin matching the US standard.
● Click OK to validate.
13. Click the Insert_US combination in the Behaviors tab and click the Load behavior
14. Double-click the LoadDocument node. The Load Document editor displays.
● In the File path field, click the button and select the BktDriver-2D-
SAE.CATPart file.
● Click OK to validate.
15. Click the Insert_US combination in the Behaviors tab and click the Bind Object behavior
16. Double-click the BindObject node. The Bind Object editor displays.
● In the Relative name field, enter: ../../../.. to access the root product. To know
more about the syntax to use in the Relative name field, see To know more
about the Bind mechanism...
Business Process Knowledge Template Version 5 Release 14 Page 116
● In the Properties tab, select Expert in the scrolling list of the Behavior States
and check the Activate check box.
● Click OK to validate.
17. Click the Insert_US combination in the Behaviors tab and click the Insert Components
18. Double-click the InsertComponents node. The Insert Components editor opens.
●
In the Definition scrolling list, select Existing Component.
●
Click the Existing component field, expand the LoadDocument node and
select the output Document.
●
Click the Father product field, expand the BindObject node and select the
output Link.
●
Set the number of instances to 1.
●
In the Allow sub typing scrolling list, select false.
●
In the Properties tab check the Activate and Focus check boxes.
●
Click OK to validate.
19. Click the Selecting Manikin combination in the Behaviors tab and click the Sequential
Combination icon ( ) to add a new combination. This new combination will enable the
user to load a manikin matching the EEC standard.
● Click OK to validate.
21. Click the Insert_EEC node in the Behaviors tab and click the Load behavior icon. The
22. Double-click the LoadDocument node. The Load Document editor displays.
● In the File path field, click the button and select the BktDriver-2D-
EEC.CATPart file.
● Click OK to validate.
23. Click the Insert_EEC node in the Behaviors tab and click the Bind Object behavior
24. Double-click the BindObject node. The Bind Object editor displays.
● In the Relative name field, enter: ../../../.. to access the root product.
● In the Properties tab, select Expert in the scrolling list of the Behavior States
and check the Activate check box.
● Click OK to validate.
Business Process Knowledge Template Version 5 Release 14 Page 118
25. Click the Insert_EEC node in the Behaviors tab and click the Insert Components
behavior icon.
26. Double-click the InsertComponents node. The Insert Components editor opens.
● Click the Existing component field, expand the LoadDocument node and select
the output Document.
● Click the Father product field, expand the BindObject node and select the output
Link.
● In the Behavior States field and check the Activate and Focus check boxes.
● Click OK to validate.
27. Expand the Insert_EEC variables node, right-click the Activity variable, select the
28. Expand the Insert_US variables node, right-click the Activity variable, select the
29. Save your .CATfct file in the Graphics directory. Click here to open the created .CATfct.
30. Click the Generate Applicative Workbench icon ( ) to generate a user workbench.
Enter the name of the workbench, Select Manikin in this example, as well as the
menu, select All Users in the Access Rights scrolling list and click OK to work in a
User environment.
32. Select Product1 in the specification tree and click the Driver check box to type the root
33. Right-click Driver (product1) and select the Selecting Manikin command.
Business Process Knowledge Template Version 5 Release 14 Page 120
34. Double-click the Legislation attribute located below the driver (Product1) feature and
This scenario aims at providing the expert user with an example of the sequential Combination
behavior associated with the Bind UDF behavior. The expert user creates a part containing a
UDF and a Product file into which the UDF will be instantiated. To do so, the expert user creates
a combination containing a BindUDF behavior.
Remember to save your .CATfct file as well as the Bkt_PartUDF.CATPart and the
BKT_InstantiateUDF.CATProduct, the BKT_PartResult.CATPart, BKT_PartSupport.CATPart files
in the directory corresponding to the CATGraphicPath environment variable.
Template workbench.
❍
Enter the name of the type: TestUDF .
❍
Click OK to validate.
Business Process Knowledge Template Version 5 Release 14 Page 123
3. Click the TestUDF type and the Sequential Combination behavior icon ( ) to
create a combination of behaviors.
the Behaviors tab. The Sequential Combination displays in the Behaviors tab.
5. Double-click the SequentialCombination combination in the Behaviors tab to edit it. The
6. In the Name field of the opening dialog box, enter Instantiate UDF and click OK to
validate.
7. Select the Instantiate UDF combination in the Behaviors tree and click the Sequential
8. In the Name field of the opening dialog box, enter Retrieve Part and click OK to
validate.
9. Click the Retrieve Part combination and click the Bind Object behavior icon ( ).
10. Double-click the Bind Object node. The Bind Object editor displays.
❍
In the Relative Name field, enter ../../../../BKT_PartResult.1
Business Process Knowledge Template Version 5 Release 14 Page 124
".." indicates that the bind must be performed on the upper level. In
❍
Click OK to validate
11. Click the Retrieve Part combination and click the Bind Reference behavior icon ( ).
BindReference displays in the Behaviors tab.
12. Double-click the BindReference node. The Bind Reference editor displays.
❍
Click the Reference of field.
❍
Click OK to validate.
13. Click the Retrieve Part combination and click the Bind Part behavior icon ( ).
BindPart displays in the Behaviors tab.
❍
Click the From object field, expand the BindReference variables
Reference field.
❍
Click OK to validate.
Business Process Knowledge Template Version 5 Release 14 Page 125
15. Select the Instantiate UDF combination in the Behaviors tab and click the Sequential
17. In the Name field of the opening dialog box, enter Retrieve Publications and click OK
to validate.
18. Click the Retrieve Publications combination and click the Bind Object behavior icon
( ).
19. Double-click the Bind Object node. The Bind Object editor displays.
❍
In the Relative Name field, enter ../../../../BKT_PartSupport.1
❍
Click OK to validate
20. Click the Retrieve Publications combination and click the Bind Publication Behavior
21. Double-click the BindPublication node. The Bind Publication editor displays.
❍
In the Name field, enter BindPublication_Surface.
Business Process Knowledge Template Version 5 Release 14 Page 126
❍
Click the Starting from field, expand the BindObject node and click
❍
In the Relative Name field, enter Surface.
❍
Click OK to validate.
22. Click the Retrieve Publications combination and click the External Reference
23. Double-click the CreateExternalReference node. The Create External Reference editor
displays.
❍
Click the Feature to import field, expand the
❍
Click the Destination field, expand the Retrieve Part node, and the
❍
Set the Show Mode to true.
❍
Click OK to validate.
one opposite.
Business Process Knowledge Template Version 5 Release 14 Page 127
24. Click the Retrieve Publications combination and click the Bind Publication Behavior
25. Double-click the BindPublication node. The Bind Publication editor displays.
❍
In the Name field, enter BindPublication_Point.
❍
Click the Reference field, expand the BindObject node and click the
❍
In the Relative Name field, enter Point.
❍
Click OK to validate.
26. Click the Retrieve Publications combination and click the External Reference
27. Double-click the CreateExternalReference node. The Create External Reference editor
displays.
Business Process Knowledge Template Version 5 Release 14 Page 128
❍
In the Name field, enter CreateExternalReference_Point.
❍
Click the Feature to import field, expand the BindPublication_Point
❍
Click the Destination field, expand the Retrieve Part node, and the
❍
Click OK to validate.
scenario, the
opposite.
28. Select the Instantiate UDF combination in the Behaviors tab and click the Sequential
30. In the Name field of the opening dialog box, enter Retrieve UDF and click OK to
validate.
31. Click the Retrieve UDF combination and click the Load Document Behavior icon
32. Double-click the LoadDocument node. The Load Document editor displays.
Business Process Knowledge Template Version 5 Release 14 Page 129
❍ Click OK to validate.
33. Click the Retrieve UDF combination and click the Bind User Feature Behavior icon
34. Double-click the BindUserFeature node. The Bind User Feature editor displays.
Click OK to validate.
one opposite.
35. Click the InstantiateUDF combination and click the Instantiate Template Behavior
Business Process Knowledge Template Version 5 Release 14 Page 130
36. Double-click the InstantiateTemplate node. The Instantiate Template editor displays.
Click the Template feature field, expand the Retrieve UDF node
feature field.
node and the BindPart node and select the output part.
Click OK to validate.
graphic opposite.
38. Click the Generate Applicative Workbench icon ( ) to generate a user workbench.
Enter the name of the workbench, Instantiate UDF in this example and click OK to
menu, select All Users in the Access Rights scrolling list and click OK to work in a
User environment.
enlarge it):
41. Click the root product of the specification tree and select the TestUDF icon to type the
This scenario aims at providing the expert user with a use example of the Insert Components
behavior in automatic update mode. The expert user wants to insert 2 manikins in a product,
then he changes the instances number to 1 using the Insert Components interface to display
only one manikin.
2. In the Behaviors tab, expand the Insert_US combination node and double-click the
3. In the Instantiation context field, set the number of instances to 2 and check that the
4. Double-click the LoadDocument behavior and click the button to set the path.
Repeat the same step with the LoadDocument behavior located below the Insert_EEC
combination node.
5. Save your file in the Graphics directory. Click here to open the created .CATfct.
workbench type.
menu, select All Users in the Access Rights scrolling list and click OK to work in a
User environment.
Business Process Knowledge Template Version 5 Release 14 Page 134
8. Select Product1 in the specification tree and click the driver check box to type the root
10. Expand the driver node, then the SequentialCombination node, then the Insert_US.1
node and double-click the InsertComponents.1 behavior and change the number of
● Click the Attributes tab and double-click the 2nd line (Number) in the List of
Attributes.
Business Process Knowledge Template Version 5 Release 14 Page 135
● Set the value to 1 in the Value field of the Attribute dialog box.
In the scenario detailed below, the expert user subscribes to the update of a part: If the part is
updated, a hole is created, if not, no hole is created.
To do so, the expert user uses the Propagate execution behavior that triggers the update of the
part if the Action Delayed option is not selected.
● Adding behaviors to the technological type: The user adds a sequence that is made up of 4
different behaviors:
Remember to save your .CATFct file in the directory corresponding to the CATGraphicPath
environment variable and the VBScript files in the \CATStartupPath\automation directory.
Business Process Knowledge Template Version 5 Release 14 Page 137
Template workbench.
❍
Enter the name of the type: Propagate.
❍
Click OK to validate.
3. Click The Propagate type and click the Sequential Combination behavior ( ) to
create a combination of behaviors.
6. Enter the name of the combination, Generate pad with a hole in this scenario, in
7. Select the Generate pad with a hole combination in the Behaviors tree and click the VB
8. Double-click VBScript and enter Create a Pad in the Name field and select
9. Select the Generate pad with a hole combination in the Behaviors tree and click the
10. Double-click the BindObject behavior. The Bind Object window displays. In the Name
field, enter Retrieve the part and enter ../../.. in the Relative Name field. Click OK to
validate.
11. Click the Generate pad with a hole combination and click the Propagate Execution
12. Double-click this behavior and enter Update the part in the Name field of the opening
dialog box.
13. Select the Target field, expand the BindObject variables node and select the output
14. Select the Generate pad with a hole combination in the Behaviors tree and click the VB
15. Double-click VBScript and enter Create a Pad in the Name field and select
The definition of the behaviors is now over. Save your file and generate your workbench. (Click
here to display the generated .CATfct file).
menu, select All Users in the Access Rights scrolling list and click OK to work in a
User environment.
18. Open the BktPart_with_Sketch.CATPart part and access the Propagate Update
19. Select Part1 in the specification tree and click the Propagate check box to type the root
23. In the Behaviors tab, double-click the Propagate Execution behavior (Update the part)
and check the Action Delayed check box. This way, the update of the part will not be
24. Open the BktPart_with_Sketch.CATPart part and access the Propagate Update
25. Select Part1 in the specification tree and click the Propagate check box to type the root
This scenario aims at providing the expert user with a use example of the Onxxx behaviors.
In this scenario, the expert user tracks the insertion of a vehicle. When the vehicle is inserted,
the Heel_pt_Line publication is checked. If Heel_pt_Line is published, a message is fired
indicating that the publication is ok, if not, a message is fired indicating that the publication is
missing.
Remember to save your .CATScript files in the startup\automation directory and your .CATFct
file in the directory corresponding to the CATGraphicPath environment variable.
Template workbench.
5. Click the Define vehicle data combination and click the On Done Behavior icon
( ).
6. Right-click the On Done behavior, select the OnDone object->Reorder command and
7. Click the On Done behavior in the Behaviors tab and click the Information Behavior
8. Double-click the Information node and enter the following string in the Message field of
9. Click the Define vehicle data and click the On Cancel Behavior icon ( ).
10. Right-click the On Cancel behavior, select the OnCancel object->Reorder command
11. Click the On Cancel behavior in the Behaviors tab and click the Information Behavior
12. Double-click the Information node and enter the following string in the Message field of
13. Click the Define vehicle data and click the On Done Behavior icon ( ).
15. Enter When vehicle data is inserted... in the Name field and click OK to validate.
16. Right-click the When vehicle data is inserted... behavior, select the When vehicle
When vehicle data is inserted... behavior is now located below the On Cancel
17. Click the When vehicle data is inserted... behavior and click the Bind Object behavior
Mechanism...
❍ Click OK to validate
19. Click the When vehicle data is inserted... behavior and click the Bind Publication
20. Double-click the BindPublication behavior. The Bind Publication window displays.
21. Click the Starting from: field, expand the BindObject node and click the output link.
23. Double-click the OnDone behavior, click the Object to Survey field and click the When
24. In the Children Objects list, select BindPublication and click the right arrow. Update
25. Double-click the OnCancel behavior, click the Object to Survey field and click the
26. In the Children Objects list, select BindPublication and click the right arrow. Update
27. Double-click the When vehicle data is inserted sequence, click the Object to Survey
28. In the Children Objects list, select Update and click the right arrow. Update now
29. Save your .CATfct file in the Graphics directory. (Click here to open the created
.CATFct.)
30. Click the Generate Applicative Workbench icon ( ) to generate a user workbench.
Enter the name of the workbench, Insert Vehicle in this example, as well as the
menu, select All Users in the Access Rights scrolling list and click OK to work in a
User environment.
32. In the User Workbench, select Product1 in the specification tree and click the
IndirectVision check box to type the root product. Its name is now
IndirectVision:Product1.
34. Select the Vehicle_Data_with_Publication.CATPart file and click Open (Note that this
36. Click Yes when asked if you want to withdraw the Define vehicle data combination.
38. Select the Vehicle_Data_without_Publication.CATPart file and click Open (Note that the
Heel_Pt_Line publication is missing in this part). The vehicle is inserted and a message
Business Process Knowledge Template Version 5 Release 14 Page 148
This scenario aims at providing the expert user with an example of the Certify behavior. The expert user wants to
check the design of a part containing holes. The diameter of the holes should be as defined in the expert checks
(see below).
Remember to save your .CATfct file as well as the PartRulebaseOnHole.CATPart, the bktrulebasecatalog.catalog,
and the bktCatalogImport.CATPart files in the directory corresponding to the CATGraphicPath environment variable.
1. From the Start->Knowledgeware menu, access the Business Process Knowledge Template
workbench.
Click the Create Technological Type icon ( ) to create a type. The Create
technological type dialog box displays.
❍
Enter the name of the type: Design.
❍
Click OK to validate.
Business Process Knowledge Template Version 5 Release 14 Page 150
3. Click the Design type and the Sequence Combination behavior icon ( ) to create a combination of
behaviors.
4. Double-click SequentialCombination in the Behaviors View and double-click Design in the Behaviors tab. The
5. Double-click the Sequential Combination. The Sequential Combination dialog box displays. In the name
6. Click the SequentialCombination combination and click the FilterCatalog icon ( ). The FilterCatalog
behavior displays
❍
In the Name field of the opening dialog box, enter RuleBases_Catalog.
Click the ... button and select the bktrulebasecatalog.catalog. in the File Selection dialog
❍
box.
❍
Click OK to validate.
8. Click the Certify Design combination and click the Bind Object behavior icon ( ).
9. Double-click the Bind Object node. The Bind Object editor displays.
❍
In the Relative Name field, enter ../../..
".." indicates that the bind must be performed on the upper level. In the current
❍
Click OK to validate
10. Click the Certify Design combination and click the Knowledge Certify behavior icon ( ). KWCertify
displays in the Behaviors tab.
Business Process Knowledge Template Version 5 Release 14 Page 151
❍ Click the Rule base field, expand the RuleBases_Catalog node and click the output
❍ Click the Object field, expand the BindObject node and click the output
❍ Click OK to validate.
12. Save the .CATFct file. Click here to access the created .CATFct file.
13. Click the Generate Applicative Workbench icon ( ) to generate a user workbench. Enter the name of
the workbench, Applying_rulebase in this example, select Part in the scrolling list, and click OK to validate.
select All Users in the Access Rights scrolling list and click OK to work in a User environment.
15. Open the bktCatalogImport.CATPart file in the user workbench. The following picture displays.
Business Process Knowledge Template Version 5 Release 14 Page 152
16. Click the root of the specification tree, the icon, the root of the specification tree, and click the Design
icon to type the part.
17. Right-click Design (MyPart) and select the Design(MyPart) object->CertifyDesign command. The
18. Double-click ComponentFamily.2 and RuleonHole. The check contained in the rulebase is launched and
performs a check of the holes. A report is launched displaying the result of the check.
● Note that the Status of the check is indicated in the specification tree in the
form of a green/red light. If the check runs correctly, the light is green, if not
it is red.
● Note that the report can be accessed by double-clicking the Report node in the
specification tree.
To know more about the Certify behavior, see Knowledge Certify Behavior: Data Sheet.
Business Process Knowledge Template Version 5 Release 14 Page 153
This scenario provides the expert user with an example of the Instantiate Template behavior. In this
scenario the user uses the Instantiate Template behavior to instantiate a tow hook.
Remember to save your .CATfct file (step 11) as well as the following files in the directory corresponding
to the CATGraphicPath environment variable:
● AssTempSupport1.CATPart
● AssTempSupport2.CATPart
● AssemblyTemplate_1.CATPart
● AssemblyTemplate_2.CATPart
● AssemblyTemplate_3.CATPart
● AssemblyTemplate_4.CATPart
● BktAssemblyTemplate.CATProduct
● BktDocumentTemplateCatalog.catalog
● BktReceivingProduct.CATProduct
Business Process Knowledge Template Version 5 Release 14 Page 154
Template workbench.
❍
Enter the name of the type: TowHook.
❍
Click OK to validate.
3. Click the TowHook type and the Sequence Combination behavior icon ( ) to create a
combination of behaviors.
5. Double-click the Sequential Combination. The Sequential Combination dialog box displays. In the
6. Click the Instantiate Tow Hook combination and click the FilterCatalog icon ( ). The
FilterCatalog behavior displays
❍
In the Name field of the opening dialog box, enter DocumentTemplate_catalog.
Business Process Knowledge Template Version 5 Release 14 Page 155
❍
Click OK to validate.
8. Click the Instantiate Tow Hook combination and click the Bind Object behavior icon ( ).
9. Double-click the Bind Object node. The Bind Object editor displays.
❍
In the Relative Name field, enter ../../..
".." indicates that the bind must be performed on the upper level. In the
❍
Click OK to validate
10. Click the Instantiate Tow Hook combination and click the Instantiate Template behavior
❍ Click the Destination field, expand the BindObject node and click the output
❍ Click OK to validate.
Business Process Knowledge Template Version 5 Release 14 Page 156
one opposite.
13. Click the Generate Applicative Workbench icon ( ) to generate the user workbench. Enter
the name of the workbench, Instantiating_DocumentTemplate in this example, select Product in
the scrolling list, and click OK to validate. The generated workbench opens.
Template menu, select All Users in the Access Rights scrolling list and click OK to work in a
User environment.
15. Open the BktReceivingProduct.CATProduct file in the user workbench. The following picture
displays.
Business Process Knowledge Template Version 5 Release 14 Page 157
16. Click the root of the specification tree, the icon, the root of the specification tree, and click
the TowHook icon to type the product.
18. Double-click ComponentFamily.2 and AssemblyTemplate. The Insert Object dialog box displays.
Click the Use identical name button and OK when done. The document template is instantiated.
Business Process Knowledge Template Version 5 Release 14 Page 158
To know more about the Certify behavior, see Instantiate Template Behavior: Data Sheet.
In the scenario detailed below, the expert designs a table using the Generate Component
behavior. The scenario is divided into the following steps:
● Creating technological types and their sub-components
● Adding the "Creating the slab" sequence to the Table Technological Type
● Adding the "Creating the legs" sequence to the Table Technological Type
Remember to save your .CATFct file in the directory corresponding to the CATGraphicPath
environment variable. To carry out this scenario, you will need the following files:
● BktLegsCatalog.catalog (that references the Bktslabtemplate.CATPart and the
Bktlegtemplate.CATPart files.)
● BktSlab.CATPart
Template workbench.
Components icon
( ) to create the
component. The
Component Creation
component: Legs_list.
Type: Leg.
components: 4.
❍ Click OK to validate.
At this
stage of
the
scenario,
your
feature
dictionary
should be
similar to
the
graphic
opposite.
Adding the "Creating the slab" sequence to the Table Technological Type
3. Click the Table type and click the Sequential Combination behavior ( ) to create a
combination of behaviors.
Business Process Knowledge Template Version 5 Release 14 Page 161
6. Enter the name of the combination, Creating the slab in this scenario, in the Name
7. Select the Creating the slab combination in the Behaviors tree and click the Load
Behavior icon ( ).
8. Select the Creating the slab combination in the Behaviors tree and click the Bind
9. Double-click the BindObject behavior. The Bind Object window displays. Enter ../../.. in
10. Click the Creating the slab combination and click the Insert Components Behavior
❍ Click the Father product field, expand the BindObject variables node and
select the output link. =BindObject\Link displays in the Father product
field.
Business Process Knowledge Template Version 5 Release 14 Page 162
❍ Click OK to validate.
Adding the "Creating the legs" sequence to the Table Technological Type
11. Click the Table type and click the Sequential Combination behavior ( ) to create a
combination of behaviors.
12. Double-click the SequentialCombination node that displays in the Behaviors tab.
13. Enter the name of the combination, Creating the legs in this scenario, in the Name
14. Select the Creating the legs combination in the Behaviors tree and click the Filter
15. Double-click the FilterCatalog node. The Filter Catalog editor displays.
❍ Click the ... button and select the BktLegsCatalog.catalog in the File
Selection dialog box and click Open when done.
❍ Click OK to validate.
16. Click the Creating the legs combination and click the Generate Components Behavior
icon ( ).
17. Double-click the Generate Components behavior. The GenerateComponents dialog box
displays.
❍ Click the Component list name, expand the Table variables node and
select the Legs_list attribute: The other fields are automatically filled.
❍ Click OK to validate.
18. Click the Generate legs combination and click the Bind Object Behavior icon ( ).
19. Double-click the BindObject behavior. The Bind Object window displays. Enter ../../.. in
Business Process Knowledge Template Version 5 Release 14 Page 163
20. Click the Generate legs combination and click the Instantiate Template behavior
❍ Click the Template feature field, expand the FilterCatalog node and
click the output feature. FilterCatalog\Feature displays in the Template
feature field.
❍ Click the Destination field, expand the BindObject node and click the
output link. BindObject\Link displays in the Destination field.
❍ Click OK to validate.
22. Click the Generate legs combination and click the Add item behavior icon ( ).
23. Double-click the AddToList behavior. The AddToList dialog box displays.
❍ Click the List field, expand the Generate legs combination variables node
and click the List. =Generate legs\List displays in the List field.
❍ Click the Object field, expand the InstantiateTemplate node, and select
the UserFeature output. =InstantiateTemplate\UserFeature displays in
the Object field.
❍ Link the index and the iteration feature of the Generate component
behavior.
❍ Click OK to validate.
Business Process Knowledge Template Version 5 Release 14 Page 164
The definition of the behaviors is now over. Save your file and generate your workbench. (Click
here to display the generated .CATfct file).
menu, select All Users in the Access Rights scrolling list and click OK to work in a
User environment.
Business Process Knowledge Template Version 5 Release 14 Page 165
26. Click the root of the specification tree, then the icon, then the root of the
specification tree, and click the Table icon to type the product.
27. Right-click Table (Product1) and select the Table(Product1) object->Creating the
slab command. The File selection window displays. Select the BktSlab.CATPart file. The
28. Right-click Table (Product1) and select the Table(Product1) object->Creating the
29. In the geometry, select one point and click OK. The first leg is instantiated.
30. Repeat the same operation with the other legs. The instantiation panel i.e. the Insert
object dialog box displays 4 times, enabling you to instantiate the 4 legs.
are instantiated as
Note that:
● The Add Item To List behavior, see Add item Behavior: Data Sheet Behavior.
The aim of this scenario is to show the user how to use the loop behavior as a "while" object.
The expert user defines rules and checks to set the instantiation context of dominoes and the
loop is automatically stopped during its execution. The expert user defines a number of
iterations which is too large and he wants to send a panel to inform the user when and why the
loop stops.
Remember to:
● Save your .CATScript files in the startup\automation directory and your .CATFct file in the
directory corresponding to the CATGraphicPath environment variable.
● Modify the path of the LoadDocument behavior if you use the provided .CATFct file.
● To carry out this scenario, you will need the following files:
❍ BktUDFDomino.CATPart
❍ BktInfo.CATScript
❍ BktDominoSystem.CATPart
Business Process Knowledge Template Version 5 Release 14 Page 168
Template workbench.
❍ Click OK to validate.
3. Click the DominoesSet type and click the Sequential Combination behavior ( ) to
create a combination of behaviors.
6. Enter the name of the combination, Instantiation in context in this scenario, in the
7. Select the Instantiation in context combination in the Behaviors tree and click the
9. Select the Instantiation in context combination in the Behaviors tree and click the
❍ Click the Starting from field, expand the BindPart variables node
and select the Link. =BindPart\Link displays in the Starting from
field.
10. Select the Instantiation in context combination in the Behaviors tree and click the
11. Double-click the BindObject behavior. The Bind Object window displays.
❍ Click the Starting from field, expand the Bind PartBody variables
node and select the Link. =Bind PartBody\Link displays in the
Starting from field. Click OK to validate.
12. Select the Instantiation in context combination in the Behaviors tree and click the
13. Double-click the LoadDocument node. The Load Document editor displays.
❍ Click the ... button and select the BktUDFDomino.CATPart in the File
Selection dialog box and click Open when done.
❍ Click OK to validate.
14. Select the Instantiation in context combination in the Behaviors tree and click the
15. Double-click the BindUserFeature in the Behaviors tree. The Bind User Feature editor
displays.
❍ Click OK to validate.
Business Process Knowledge Template Version 5 Release 14 Page 170
16. Select the Instantiation in context combination in the Behaviors tree and click the
Loop icon ( ).
17. Double-click the Loop in the Behaviors tab. The Loop editor displays.
❍ Click OK to validate.
18. Select the Loop combination in the Behaviors tree and click the Knowledge Relations
Behavior icon ( ).
19. Double-click the KnowledgeRelations behavior. The Knowledge Relations editor displays.
20. Click the Attributes tab and add the following attributes:
21. In the Content tab, right-click the TempRatio attribute and select the Edit Formula
23. Click the Content tab and click the Rule icon ( ). Enter the following rule body into
the rule editor, click OK when done and OK to exit the Knowledge Relations editor.
Business Process Knowledge Template Version 5 Release 14 Page 171
if TempRatio <= 1
{
RatioforUDF = TempRatio
UDF_Act = TRUE
Info_Act = FALSE
}
else
{
RatioforUDF = TempRatio
`DominoesSetMDL\Instantiation in context\Loop\NumberOfIterations`
= `DominoesSetMDL\Instantiation in context\Loop\Iteration`
UDF_Act = FALSE
Info_Act = TRUE
}
24. Expand the Knowledge Relations variables node as well as the Loop variables node.
25. Right-click the ratio variable located below the Knowledge Relations node, select the
ratio object->Link To command, and click the Inst_Ratio variable located below the
26. Select the Loop combination in the Behaviors tree and click the Instantiate Template
Behavior icon ( ).
❍ Click the Destination field, expand the Bind Part node and select
the Link. =Bind Part\Link displays in the Destination field.
❍ Click the Add button in the Defined inputs and parameters field
and add the following attributes:
27. Expand the Instantiate Template variables node, right-click the ratio variable located
below the Knowledge Relations node, select the ratio object->Link To command, and
click the RatioforUDF variable located below the Knowledge Relations node.
28. Right-click the Sketch.1 variable, select the Sketch.1 object->Link To command,
expand the Bind Sketch Support variables node and select the Link.
Business Process Knowledge Template Version 5 Release 14 Page 172
29. Right-click the Activity variable, select the Activity object->Link To command, and
click the UDF_Act variable located below the Knowledge Relations node.
30. Select the Loop combination in the Behaviors tree and click the Synchronize
❍ Click the To Parameter field, expand the Loop node and click the
Inst_Ratio variable. = Loop\Inst_Ratio displays in the To
Parameter field.
❍ Click OK to validate.
32. Expand the SynchronizeParameters behavior node in the Behaviors tree. Right-click the
Activity variable, select the Activity object->Link To command and click the UDF_Act
33. Select the Loop combination in the Behaviors tree and click the Add To List Behavior
icon ( ).
❍ Click the List field, expand the Loop variables node and select
the List feature. = Loop\List displays in the List field.
35. Expand the AddToList behavior node. Right-click the Activity variable, select the
Activity object->Link To command and click the UDF_Act variable located below the
36. Right-click the Index variable, select the Index object->Link To command and click
37. Select the Loop combination in the Behaviors tree and click the VB Script Behavior
icon ( ).
38. Double-click the VBScript behavior in the behaviors tree. The VBScript editor displays.
❍ Click the Add button in the Defined inputs and parameters field
and add the following attributes:
39. Expand the VBScript behavior node. Right-click the Iteration variable, select the
Iteration object->Link To command and click the Iteration variable located below the
Loop node.
40. Right-click the Ratio variable, select the Ratio object->Link To command and click the
41. Right-click the NextRatio variable, select the NextRatio object->Link To command
and click the RatioforUDF variable located below the Knowledge Relations node.
42. Right-click the Activity variable, select the Activity object->Link To command and
click the Info_Act variable located below the Knowledge Relations node.
Business Process Knowledge Template Version 5 Release 14 Page 174
The definition of the behaviors is now over. Save your file and generate your workbench. (Click
here to display the generated .CATfct file).
menu, select All Users in the Access Rights scrolling list and click OK to work in a
User environment.
46. Click the root of the specification tree, the icon, the root of the specification tree,
and click the DominoesSet icon to type the product.
Business Process Knowledge Template Version 5 Release 14 Page 175
47. Right-click DominoesSet (Part2) object and select the DominoesSet(Part2) object-
● The Add Item To List behavior, see Add item Behavior: Data Sheet Behavior.
Use Cases
The scenarios are taken from the interior packaging domain of vehicle design.
Expert User: the use cases Creating a User Workbench: Indirect Vision
presented in this section are
intended for expert users only. They
aim at demonstrating how to create
useful workbenches.
Business Process Knowledge Template Version 5 Release 14 Page 177
This section provides the expert user with a detailed example. In this scenario, the expert user creates a new
user workbench designed to compute the indirect field of view of a car driver. The scenario is divided into 11
major steps. (See below.)
● Defining the "Define Vehicle Data" Combination for the IndirectVision Object
● Defining a "Compute Optimal Mirror" Combination for the Indirect Vision Technological
Type
● Defining a "Generate Indirect Field of View for a Classic Mirror" Combination on the Driver
Technological Type
For the purpose of the scenario described in this Expert User use case, the expert user should
create an \Indirect_vision_data directory on his local drive and store all the provided and
generated files in this directory (see graphic below). This path is used by the behaviors to find the
required data.
If you do not have a E drive, edit the paths of the following behaviors in your *.CATFct
files before you generate the workbench:
● Load behavior
● LoadNew behavior
● VBScript behavior
● FilteredCatalog behavior
Target.CATPart
● Mirror_Design.CATPart
● BktMirror.Catalog
● BktDriver2D5Female.CATPart
● BktDriver2D50Male.CATPart
● BktDriver2D95Male.CATPart
● BktLinkDriverToRepresentation.CATScript
● BktClassicIFVLegislationLink.CATScript
● BktAdvancedIFVLegislationLink.CATScript
● BktTestPublicationMirror.CATScript
● BktLinkMirrorToRepresentation.CATScript
● BktTestPublicationTarget.CATScript
● BktLegislationLink.CATScript
● BktTestPublicationDriver.CATScript
● BktPlaneMirrorsSectionChecking.CATPart
● BktMirrorsCalculationUS.CATPart
● BktMirrorsCalculationEEC.catalog
● BktMirrorsCalculationUS.catalog
● BktAdvancedCheckingResults.CATPart
Business Process Knowledge Template Version 5 Release 14 Page 180
● IndirectVisionStep01a.CATfct
● IndirectVisionStep01b.CATfct
● IndirectVisionStep02.CATfct
● IndirectVisionStep02a.CATfct
● IndirectVisionStep03.CATfct
To generate a user workbench and to work in user mode, some files saved in the \Indirect_vision_data
structure will have to be copied into the appropriate directories as shown below:
● BktAdvancedIFVLegislationLink.CATScript
● BktTestPublicationMirror.CATScript
● BktLinkMirrorToRepresentation.CATScript
● BktTestPublicationTarget.CATScript
● BktLegislationLink.CATScript
● BktTestPublicationDriver.CATScript
Copy The icons that you associated with the Into the icons\normal directory of
behaviors you created (if any). the path corresponding to
the \CATGraphicPath
environment variable in your
customized workspace.
Business Process Knowledge Template Version 5 Release 14 Page 181
This task is the first to be performed by the expert user prior to starting defining the user
workbench.
3. From the Tools -> Options... menu, select General->Parameters and Measure-
● With value, and With formula in the Parameter tree view field.
● Load extended language libraries, and All packages in the Language field.
(Click the graphic below to enlarge it.)
4. From the Tools -> Options... menu, select General->Parameters and Measure-
● Load extended language libraries, and All packages in the Language field.
(Click the graphic below to enlarge it.)
Business Process Knowledge Template Version 5 Release 14 Page 182
●
Keep link with selected object
●
Only use published elements for external selection keeping link
● Constraints
● Parameters
● Relations
check/select:
This option defines the access rights granted. In BKT the access rights
are set to Expert by default.
9. Click OK to validate your settings and proceed to the next task: Creating technological
Objects.
Business Process Knowledge Template Version 5 Release 14 Page 184
2. Click the Create technological Type icon ( ) and enter Vision in the Create
technological type dialog box. Click OK to validate.
3. Click the Vision object and click the Add Attribute icon ( ). The Add Attribute dialog
box displays.
❍ Enter the
attribute
name:
Standard.
Business Process Knowledge Template Version 5 Release 14 Page 185
❍ Select the
attribute type:
String
❍ Enter the
attribute
value: SAE
and click OK
to validate.
4. Click the Vision object and click the Add Attribute icon ( ). The Add Attribute dialog
box displays.
5. Click the Vision object and click the Add Attribute icon ( ). The Add Attribute dialog
box displays.
6. Click the Vision object and click the Add Attribute icon ( ). The Add Attribute dialog
box displays.
7. Click the Vision object and click the Add Attribute icon ( ). The Add Attribute dialog
box displays.
8. Click the Vision object and click the Add Attribute icon ( ). The Add Attribute dialog
box displays.
9. Click the Vision object and click the Create technological type icon ( ). Enter
Business Process Knowledge Template Version 5 Release 14 Page 187
specification tree.
10. Click the Vision object and click the Create technological type icon ( ). Enter
DirectVision in the Create technological type window. DirectVision displays in the
specification tree.
11. Click the Create technological type icon ( ) and enter Driver in the Create
technological type window.
12. Click the Driver type and click the Add Attribute icon ( ). In the Add Attribute dialog
box, enter the following values.
13. Click the Driver object and click the Add Attribute icon ( ). The Add Attribute dialog
box displays.
Business Process Knowledge Template Version 5 Release 14 Page 188
14. Click the Driver object and click the Add Attribute icon ( ). The Add Attribute dialog
box displays.
15. Click the Driver object and click the Add Attribute icon ( ). The Add Attribute dialog
box displays.
16. Click the Driver object and click the Add Attribute icon ( ). The Add Attribute dialog
box displays.
Business Process Knowledge Template Version 5 Release 14 Page 189
17. Click Driver and click the Add Attribute icon ( ). The Add Attribute dialog box
displays.
18. Click Driver and click the Add Attribute icon ( ). The Add Attribute dialog box
displays.
19. Click Driver and click the Add Attribute icon ( ). The Add Attribute dialog box
displays.
Business Process Knowledge Template Version 5 Release 14 Page 190
20. Click the Create technological type icon ( ) and enter ExternalMirror in the
Create technological type window.
21. Click ExternalMirror and click the Add Attribute icon ( ). The Add Attribute dialog
box displays.
22. Click ExternalMirror and click the Add Attribute icon. The Add Attribute dialog box
displays.
23. Click ExternalMirror and click the Add Attribute icon ( ). The Add Attribute dialog
box displays.
24. Click ExternalMirror and click the Add Attribute icon ( ). The Add Attribute dialog
box displays.
25. Click ExternalMirror and click the Add Attribute icon ( ). The Add Attribute dialog
box displays.
26. Click ExternalMirror and click the Add Attribute icon ( ). The Add Attribute dialog
box displays.
27. Click ExternalMirror and click the Add Attribute icon ( ). The Add Attribute dialog
box displays.
28. Click the Create technological type icon ( ) and enter Target in the Create
technological type window.
29. Click Target and click the Create technological type icon ( ) and enter
IndirectTarget in the Create technological type window.
Proceed to the next task: Creating the Behaviors associated with the indirect Vision
technological Type.
Business Process Knowledge Template Version 5 Release 14 Page 194
In this topic, the expert user creates a combination that will enable the end-user to insert a
vehicle into his product.
2. Click the IndirectVision object in the specification tree and click the Sequential
Select the icon you want to associate with the behavior (optional).
Click OK to validate.
4. Click the Define vehicle data behavior and click the Load Behavior icon ( ).
LoadDocument displays in the Behaviors tab.
list of the Behavior States and check the Activate check box.
Click OK to validate.
Business Process Knowledge Template Version 5 Release 14 Page 195
When the file path is unset for a Doc based behavior, a File Open
Workbench.
6. Click the Define vehicle data combination and click the Bind Object behavior icon ( ).
7. Double-click the Bind Object node. The Bind Object editor displays.
❍
In the Relative Name field, enter ../../..
".." indicates that the bind must be performed on the upper level.
This string is the third father of the Bind Object and will be, in the
type.
❍
In the Properties tab, select Expert in the scrolling list of the
❍
Click OK to validate
8. Click the Define vehicle data combination and click the Insert Components Behavior
❍
In the Name field, enter Component Creation.
Business Process Knowledge Template Version 5 Release 14 Page 196
❍
In the Definition scrolling list, select Existing Component.
❍
Click the Existing component field, expand the LoadDocument node
❍
Click the Father product field, expand the BindObject node and select
❍
Set the number of instances to 1.
❍
In the Type Name field, enter Vehicle.
❍
In the Allow sub-typing scrolling list, select false.
The end-user will not be able to sub-type the created instances when
below.
Business Process Knowledge Template Version 5 Release 14 Page 197
10. Save your file and proceed to the next task: Defining the "Define Driver" Combination
on the IndirectVision Object. (To see the result .CATfct file, click here.)
Business Process Knowledge Template Version 5 Release 14 Page 198
In this topic, the expert user creates a combination that will enable the end-user to insert a
manikin into the vehicle that he inserted in the previous topic.
1. Click the Indirect Vision object in the Behaviors tab and click the Sequential
Combination icon ( ).
4. Click the Define driver combination in the Behaviors tab and click the Bind Object
5. Double-click the Bind Object node. The Bind Object editor displays. In the Relative
6. Click the Define driver combination in the Behaviors tab and click the Bind Parameter
7. Double-click the BindParameter node. The Bind Object editor displays. In the Relative
8. Click the Define driver combination in the Behaviors tab and click the Link Parameters
behavior icon ( ).
9. Click the Define driver combination in the Behaviors tab and click the Filter Catalog
10. Double-click the FilterCatalog node. The FilterCatalog editor displays. Click the ... button
11. In the Filtering Keywords field, click the Add button and create a Name attribute:
❍
In the
Name
field,
enter
Name.
❍
In the
Type
scrolling
list,
select
String.
❍
Click
OK
twice to
validate.
❍
Click the From Parameter field, expand the BindParameter node and
Parameter field.
❍
Click the To Parameter field, expand the FilterCatalog node and select
field.
❍
Click OK to validate.
13. Click the Define driver combination in the Behaviors tab and click the Instantiate
❍
Click the Template feature field, expand the FilterCatalog node and
field.
❍
Click the Destination field, expand the BindObject node and select
❍
In the Valuation mode scrolling list, select UseIdenticalName.
❍
Click OK twice to validate.
enlarge it.)
opposite
15. Click the Define driver combination in the Behaviors tab and click the AddType
❍ Click the ... button in the Catalog Name field, and select the current
❍ Click the Object to type field, expand the Instantiate Template node and
❍ Click OK to validate.
17. Click the Define driver combination in the Behaviors tab and click the VBScript
❍
Click the Add button in the Defined inputs and parameters field. In
the Name field, enter PartDocName. In the Type scrolling list, select
❍
Click OK twice to validate.
18. Click the Define driver combination in the Behaviors tab and click the VBScript
❍
Click OK to validate.
one opposite.
here.)
Business Process Knowledge Template Version 5 Release 14 Page 203
In this scenario, the expert user implement the "if … then …else…" pattern using a Knowledge Relations behavior.
This relation is a rule that drives the activity of two combinations.
Note that:
will be instantiated.
2. Click the Compute optimal mirror combination and click the Knowledge Relations behavior icon ( ).
3. Double-click the KnowledgeRelation node in the Behaviors tab. The Knowledge Relations editor displays.
Business Process Knowledge Template Version 5 Release 14 Page 204
4. In the Name field, enter Trigger Load.
❍
Name: CurrentLegislation, Type: String, Value: EEC
❍
Name: Act_EEC, Type: Boolean, Value: false, Quality: Output
❍
Name: Act_US, Type: Boolean, Value: true, Quality: Output
To know more about the Quality field, see To know more about the Add Attribute
dialog box...
Click the Content tab then the Rule icon ( ) in the Knowledge Tools toolbar to add the
rule. The Rule Editor opens.
Enter the name of the rule and click OK to access the Rule editor window.
In the Rule editor, enter the following rule and click OK twice to validate and to exit the
Rule editor:
if CurrentLegislation == "EEC"
{
Act_EEC =TRUE
Act_US = FALSE
}
else
{
Act_US =TRUE
Act_EEC = FALSE
}
>Reorder command.
Business Process Knowledge Template Version 5 Release 14 Page 205
9. Link the Trigger Load behavior and the Compute optimal mirror combination for the rule contained in the
Trigger Load behavior to be driven by the Legislation attribute defined on the IndirectVision object. To do
so proceed as follows:
10. Right-click the Mirror_EEC combination and select the Copy command.
11. Right-click the Compute optimal mirror combination and select the Paste command: A combination named
12. Double-click the Mirror_EEC.1 node. The Sequential Combination editor displays.
13. In the Name field of the opening dialog box, enter Mirror_US and click OK to validate.
14. Expand the Mirror_US node and double-click the Load_EEC node. The Load Document editor displays.
15. Save your file and proceed to the next task: Defining a "Generate Report" Behavior on the Indirect Vision
Technological Type.
Business Process Knowledge Template Version 5 Release 14 Page 207
In this topic, the expert user creates a combination of behaviors designed to open a html page
showing the values of 3 variables of 3 technological objects:
● Mirror
● Driver
● IndirectVision
1. Select the IndirectVision object in the specification tree and click the Sequential
editor displays.
3. In the Name field of the opening dialog box, enter Generate Report and click OK to
validate.
4. Select the Generate Report combination in the Behaviors tree and click the Sequential
5. In the Name field of the opening dialog box, enter Retrieve Mirror and click OK to
validate.
6. Select the Retrieve Mirror combination and click the Bind Object behavior icon ( ).
7. Double-click the Bind Object node. The Bind Object editor displays.
❍ In the Relative Name field, enter ../../../../Mirror_Part. This path points out the
❍ Click OK to validate.
Business Process Knowledge Template Version 5 Release 14 Page 208
8. Select the Generate Report combination and click the Sequential Combination behavior
9. Double-click this behavior to edit it. The Sequential Combination editor displays.
10. In the Name field of the opening dialog box, enter Retrieve Driver. Click OK to
validate.
11. Select the Retrieve Driver combination and click the Bind Object behavior icon ( ).
12. Double-click the BindObject node to edit it. The Bind Object editor displays.
❍ Click OK to validate.
13. Select the Generate Report combination and click the Bind Object behavior icon ( ).
14. Double-click the BindObject node to edit it. The Bind Object editor displays.
❍ In the Relative Name field, enter: ../../.. This path points out the product
❍ Click OK to validate.
15. Select the Generate Report combination and click the ActiveXURL behavior icon
( ).
16. Double-click the URL node to edit it. The URL editor displays.
Business Process Knowledge Template Version 5 Release 14 Page 209
❍ In the Variables tab, create the following variables using the Add button:
❍ Click OK to validate.
21. Save your file and proceed to the next task: Defining a "Generate Indirect Field of View
In this topic, the expert user defines a combination that will generate the driver's indirect field
of view for a Planar mirror.
1. Expand the Generate Indirect Field of View for Planar Mirror combination. The following
graphic displays:
creation combinations.
BindPowerCopy, and
PowerCopySpecification
behaviors.
❍ The CreateNewFrom,
BindObject, and
InsertComponents
behaviors.
❍ A VBScript behavior.
3. Click the Imports creation combination and click the On Cancel behavior icon ( ).
Business Process Knowledge Template Version 5 Release 14 Page 212
and click the Imports creation combination. The On Cancel behavior is now located
5. Double-click the On Cancel node to edit it. The On Cancel editor displays. As you can
see the Children Objects and the Child Object to survey lists are empty.
❍ Click the Father object to survey field, and select the Imports creation
combination. The Children Objects now display the behaviors located below
❍ Select the Bind Sketch Mirror behavior and click the right arrow. Bind Sketch
Mirror now displays in the Child Object to survey list. The On Cancel behavior
❍ Click OK to validate.
6. Click the On Cancel behavior and click the Information behavior icon ( ).
8. In the Message field, enter the following string: "Sketch_Mirror and Mirror_Plane
and Mirror_Plane ". This message will display if the Bind Sketch Mirror behavior is not
executed correctly.
9. Save your file and proceed to the next task: Defining a "Check Driver Position" Behavior
In this topic, the expert user defines the passenger position. He creates a check that will be
updated whenever the behavior operates. As the behavior operates in Auto update mode, the
check will operate each time an input is modified.
1. Select the Driver technological object in the Behaviors tree and click the Knowledge
❍
In the Name field, enter Check Driver Position
❍
Select Auto in the Update scrolling list.
❍
Click the Attributes tab and click the Add button to create the following
attributes:
Click the Content tab and click the Check icon ( ) to create 4 checks.
❍
Click OK to validate. The 4 checks are created. Click OK to exit the editor.
3. Expand the Check Driver Position node and its Variables node.
5. Right-click the AnkleAngle attribute below the Check driver position behavior, select the
6. Right-click the KneeAngle attribute below the Check driver position behavior, select the
7. Right-click the HipAngle attribute below the Check driver position behavior, select the
variable.
You are now finished with the definition of the CATfct file. You are now going to use the
technological objects and the behaviors. Proceed to the next step: Generating the User
Workbench.
Business Process Knowledge Template Version 5 Release 14 Page 216
In this last topic of the scenario, the expert user generates the end-user workbench. For the
workbench to be correctly generated, see Before you start and check that the files provided are
located in the appropriate directories.
enter RearViewMirror.
5. Click OK to validate. A new user workbench has been generated (see picture below.)
In this scenario, the user instantiates the vehicle, the driver, the mirror and the target, and
checks the resulting field of view. This scenario is divided into the following steps:
● Generating a Report
RearViewMirror.
If this workbench is not available, contact your expert user for him to copy the files
provided in the Before you start topic into the appropriate directories and to
generate the workbench enabling you to replay this scenario.
Business Process Knowledge Template Version 5 Release 14 Page 218
You are now in the user workbench. All the items defined in the .CATfct file now display in the
toolbar located in the right part of the screen. Note that the icons might be replaced with empty
check boxes if you did not associate icons with the types.
3. Select the root product in the specification tree, click the icon to initialize the
assembly context in the selected product (if need be) and click the root product again.
4. Select the product and click the IndirectVision icon. The IndirectVision type is
● Right-click the IndirectVision (Product1) object in the tree and select the
IndirectVision (Product1) object->Define vehicle data command. The File
Selection window displays.
● Select the Vehicle_Data.CATPart and click OK to validate. The vehicle is loaded. Its
type is "Vehicle".
● Right-click the IndirectVision (Product1) object in the tree and select the
IndirectVision (Product1) object->Define driver command. The Catalog browser
displays.
Note that if you do not have a e:\tmp file, you will need to edit the path in the
BktSaveLastPart.CATScript.
(Product1) object->Define
box.
opposite.)
Generate geometry command. The Mirror_Part has been created along with its
publications.
❍ Expand the Mirror variables node and double-click the modified attributes to
❍ Right-click the IndirectVision (Product1) object in the tree and select the
instantiated.
Business Process Knowledge Template Version 5 Release 14 Page 222
Target_Definition.1: As
published parameter of
legislation attribute of
Vision.
❍ Right-click IndirectVision
Definition command.
attribute US.
Business Process Knowledge Template Version 5 Release 14 Page 223
❍ Click OK to validate.
❍ Update Target_Part.
11. Instantiate the indirect field of view for a classic mirror. To do so, proceed as follows:
❍ Right-click Driver
Driver object-
>Generate indirect
classic mirror
of view is generated.
(See picture
opposite.)
Generating a Report
❍ Reframe on the external mirror and sketch a new mirror made of a rectangle.
The sketch we have created represents our new mirror. We now want to
14. Double-click Mirror_Part in the specification tree and select the Tools->Publication
15. Select Mirror_Support and Sketch.1 and publish them as Mirror_Plane and
Sketch_Mirror.
16. Right-click Driver and select the Driver object->Generate indirect field of view for
❍ Click Yes. The indirect field of view for the new mirror is generated.
Business Process Knowledge Template Version 5 Release 14 Page 225
Business Process Knowledge Template Version 5 Release 14 Page 226
In this scenario, the user instantiates the vehicle, the driver, the target, and computes the
optimal mirror depending on his work context. This scenario is divided into the following steps:
● Starting the RearViewMirror Workbench
RearViewMirror.
If this workbench is not available, contact your expert user for him to copy the files
provided in the Before you start topic into the appropriate directories and to
generate the workbench enabling you to replay this scenario.
You are now in the user workbench. All the items defined in the .CATfct file now display in the
toolbar located in the right part of the screen. Note that the icons might be replaced with empty
check boxes if you did not associate icons with the created behaviors when defining the .CATfct
file.
3. Select the root product in the specification tree, click the icon to initialize the
assembly context in the selected product (if need be) and click the root product again.
4. Select the product and click on IndirectVision icon. The IndirectVision type is assigned
Business Process Knowledge Template Version 5 Release 14 Page 227
❍ Right-click the IndirectVision (Product1) object in the tree and select the
● Right-click the IndirectVision (Product1) object in the tree and select the
IndirectVision (Product1) object->Define driver command. The Catalog browser
displays.
Note that if you do not have a e:\tmp file, you will need to edit the path in the
BktSaveLastPart.CATScript.
7. Check that the relations have been created at the root level between the driver
technological object and the driver part. To do so, expand the Relations node.
❍ Right-click the IndirectVision (Product1) object in the tree and select the
instantiated.
Click on Fit all In to see the target created (see picture below.)
Business Process Knowledge Template Version 5 Release 14 Page 229
9. Expand the IndirectVision variables node, double-click the IndirectVision definition and
11. Check that the whole product has been updated with the new value
❍
Right-click Driver (Driver_Part.1) and select the Driver
Reference Information
Essential reference information concerning the behaviors are available in this section.
These 2 behaviors (Logical Combination and Sequential Combination) allow the expert user to automate a
process or part of a process. The user defines a combination of behaviors:
Accessing
this This behavior can be accessed by clicking the Logical Combination icon ( ) in the Structure
behavior toolbar.
Describing This behavior is a combination of various behaviors enabling the user to work with the
this aggregation concept.
behavior
More The logical combination is designed to execute the behaviors that are
information ready for execution at a given time. When executing a logical
combination of behaviors, all you can know is if the combination can
operate the behaviors it contains. The order in which the behaviors
will be launched is not guaranteed. One behavior can be launched
while another one is operating.
For the behaviors to be launched in a defined order in a logical
combination, check the focus radio buttons in the behaviors properties
tab.
The behaviors belonging to a Logical Combination might be launched
simultaneously.
If the
behaviors
are
independent,
and one of
the
behaviors is
not solved,
the
combination
will be
shown as
solved.
Accessing
this This behavior can be accessed by clicking the Sequential Combination icon ( ) in the Structure
behavior toolbar.
Describing This behavior is a combination of various behaviors. In a sequential combination, the behaviors
this execute in a pre-defined order. The creation order of the behaviors will be their execution order.
behavior
In case of
error, the
combination
will not
execute to
the end and
will be
shown as
failed.
Using this See Creating a Sequential Combination of Behaviors and Using a Combination to Instantiate a User
behavior Feature.
Business Process Knowledge Template Version 5 Release 14 Page 235
Accessing
this This behavior can be accessed by clicking the Loop Behavior icon ( ) in the Structure
behavior toolbar.
Describing This behavior is designed to enable the user to define sequences of behaviors that will be
this executed a given number of times (For i=1 to N).
behavior
Note that:
● The number of iterations can be driven by rules and formulas. Therefore, the loop will
operate its sub-behaviors a given number of times, depending on the context, if some
conditions are met.
● The objects generated by the behaviors at each iteration can be stored in the output list of
the loop with the AddToList behavior. It is a way for the expert user to store and retrieve
the results of the previous iterations.
● Loops of loops cannot be created: A loop behavior cannot be instantiated under an existing
loop. Other limitations: The behaviors contained in the loop cannot be structured using the
Logical and Sequential combinations.
● The behaviors located below the loop cannot be in auto update mode. Only Driven and
Single update modes are available in their properties pages.
● Loops inputs can be linked except the iteration.
● It is recommended to use the Loop behavior in combination with the AddToList behavior:
The outputs of the loop will be stored in the AddToList and the list will be valuated.
Using this
Behavior
Interface
Loop definition Number of iterations Enter the number of iterations. This number
matches the number of times the loop and its
behaviors will be executed.
Create new data at each New data are created at each execution of the
execution behavior.
Using this
See Using the Loop Behavior.
behavior
Business Process Knowledge Template Version 5 Release 14 Page 237
Accessing
this This behavior can be accessed by clicking the Generate Components Behavior icon ( ) in the
behavior Structure toolbar.
Note that:
● A Generate Components behavior should contain a "Add Item behavior" to valuate its
output list at each iteration or it should contain a loop.
● At each iteration, the behaviors located below the Generate Components behavior will be
automatically executed.
● It is possible to control the execution of the behaviors located below the Generate
Components behavior. To do so, select the Single Update mode in the Properties tab: Those
behaviors will be executed only once.
● A Generate Components behavior cannot contain other Generate Components behaviors.
● The behaviors located below the Generate Components behavior cannot be in auto update
mode. Only Driven and Single update modes are available in their properties pages.
other items.
Components behavior.
More
Information ● The list is the temporary output of the
behavior: At each iteration, an item
must be added to the list. This object
will be typed depending on the
component type. To do so, use an Add
To list. This item will be typed
depending on the type created when
creating the components. The final
operational output of the behavior is the
component list on the TO.
Typing Rules when using the Generate Components behavior in the user workbench:
● It is only possible to type the following objects: Products, Parts, Geometrical sets, and Part
Bodies.
Business Process Knowledge Template Version 5 Release 14 Page 240
Using this
Behavior
Interface
Using this See Designing a Table using the Generate Component Behavior.
behavior
Business Process Knowledge Template Version 5 Release 14 Page 241
● Command Behavior
● URL Behavior
● System Behavior
● Information Behavior
Implementation Behaviors
This set of behaviors enables the expert user to reuse existing components like VB Scripts, CAA commands,
URLs, and executable files.
Please find below the list of the behaviors belonging to the Implementation behaviors.
● VBScript Behavior
● Command Behavior
● URL Behavior
● System Behavior
Business Process Knowledge Template Version 5 Release 14 Page 243
Accessing this
behavior This behavior can be accessed by clicking the VBScript Behavior icon ( ) in the
Implementation toolbar.
MORE Note that the input of this behavior should be a CATScript file. For this behavior to be
INFORMATION correctly executed, use the syntax indicated in this file: BktwritingaVB.CATScript.
Using this
Behavior
Interface
Macro VB Name
Use the button to select a .CATScript file.
Business Process Knowledge Template Version 5 Release 14 Page 244
For portable applications, note that the selected file can be located in the
directory corresponding to the CATStartupPath environment variable. Enter the
VBScript file name only.
Using this The expert user developed a macro that he wants to reuse. To get an example, see Using
behavior the On xxx Behaviors.
Business Process Knowledge Template Version 5 Release 14 Page 245
Accessing this
behavior This behavior can be accessed by clicking the Command Behavior icon ( ) in the
Implementation toolbar.
Describing this This behavior is designed to specify the execution parameters of a CAA Command. When
behavior working with CAA, a developer can create a new command. This behavior enables the
expert user to launch this command by specifying its name and the module where the
command is defined.
Note that the input of this behavior should be a command class and the module in which the
command was declared.
MORE The Focus option is now available for the Command behavior. It is checked by default but
INFORMATION the user will have to check the Focus radio button when defining undefined commands.
If the Focus option is unchecked, the command behavior will be launched asynchronously (it
will be executed later).
In case of a sequential combination, it is recommended to check the Focus radio button of
the Command behavior and the one of the behavior located below the Command behavior
(if both behaviors are linked). If not, the second behavior will not be executed.
● In case of an exclusive command, the focus option must be set.
To know more about undefined, exclusive and shared commands, see the CAA
documentation.
Business Process Knowledge Template Version 5 Release 14 Page 246
Using this
Behavior
Interface
Module Name: Enter the name of the module in which the command
was declared.
Note that the module should be accessed through the "?" code/bin path.
Business Process Knowledge Template Version 5 Release 14 Page 247
Accessing this
behavior This behavior can be accessed by clicking the URL Behavior icon ( ) in the
Implementation toolbar.
MORE Note that the input of this behavior should be a html file located in the directory
INFORMATION corresponding to the CATStartupPath environment variable.
Using this
Behavior
Interface
Web URL: Enter the name of the HTML file that you want to use
For portable applications, note that the HTML file can be located in the directory
corresponding to the CATStartupPath environment variable. Enter the HTML file
name only.
Business Process Knowledge Template Version 5 Release 14 Page 248
Using this A document is associated with the process that is being developed by the expert user. The
behavior expert user wants the end-user to access this documentation.
Business Process Knowledge Template Version 5 Release 14 Page 249
Accessing this
behavior This behavior can be accessed by clicking the ActiveX URL Behavior icon ( ) in the
Implementation toolbar.
Describing this This behavior is designed to open a HTML page that can interoperate with CATIA V5 using
behavior VB Script.
MORE Note that the input of this behavior should be a html file located in the directory
INFORMATION corresponding to the CATStartupPath environment variable.
Using this
Behavior
Interface
Web URL: Name of the HTML page that you want to use.
Business Process Knowledge Template Version 5 Release 14 Page 250
For portable applications, note that the HTML file must be located in the directory
corresponding to the CATStartupPath environment variable. Enter the HTML file
name only.
Using this The expert user wants to use a HTML page to generate a report. Click here to see an
behavior example.
Business Process Knowledge Template Version 5 Release 14 Page 251
Accessing this
behavior This behavior can be accessed by clicking the System Behavior icon ( ) in the
Implementation toolbar.
Describing this This behavior is designed to launch an executable file (.exe) or a shell (.sh). This behavior
behavior launches the process synchronously.
Using this
Behavior
Interface
Process Process: Indicate the process path or the process name if the process
is recognized by the operating system (like notepad for
example) or if it is in the runtime view.
Source File: Enter the name of the file that will be used to generate the
input data for the process.
If no path is indicated, the CATTemp variable will indicate
the directory to use.
If no file is indicated, a temporary file name will be allocated
by the behavior.
Result File: Enter the name of the file that will be used to handle the
result of the process.
● The output file that will be processed by the behavior to fill in the output after
the execution of the process.
Note that for portable applications, the process should be accessible in the run
time view.
IO Based Behaviors
This set of behaviors enables the expert user to link or to synchronize parameters.
Given 2 variables A and B, the expert user is provided with 2 methods to bind them. He can
● Link the 2 variables: In this case, if B and A are linked, they share the same value. B takes the value of A. If
the value of A changes, the value of B will change immediately.
● Synchronize the 2 variables: In this case, if B is linked with A, B will take the value of A when the behavior
is executed.
Accessing
this This behavior can be accessed by clicking the Link Parameters Behavior icon ( ) in the IO
behavior Based toolbar.
Describing This behavior is designed to link two parameters of the extended object. Given A and B, 2
this variables of same type (object or parameter) that can result from a Bind Object or Parameter.
behavior If you link A and B, the value of B will be identical to the value of A.
Using this
Behavior
Interface
Accessing This behavior can be accessed by clicking the Synchronize Parameters Behavior icon ( ) in
this the IO Based toolbar.
behavior
Describing This behavior is designed to synchronize two parameters of the extended object. When the
this behavior is executed, both parameters have the same value: Given A and B two parameters: If
behavior A=5 and B=2, B=5 only after the behavior is executed.
Using this
Behavior
Interface
Bind Behaviors
This set of behaviors enables the expert user to access resources not yet available at the definition stage. To get
more information about the Bind mechanism, see To know more about the Bind Mechanism...
Please find below the list of the behaviors belonging to the Bind behaviors.
Accessing
This behavior can be accessed by clicking the Bind Object Behavior icon ( ) in the Bind Based
this
Behaviors toolbar.
behavior
Describing This behavior searches for the object whose name or path is specified. To get more information
this about the Bind mechanism, see To know more about the Bind Mechanism...
behavior
Using this
Behavior
Interface
● A behavior.
Relative Name: Enter the object name that you are looking for or
an access path (using the ../.. syntax).
Using this The expert user wants to find the root product of the document.
behavior
Business Process Knowledge Template Version 5 Release 14 Page 259
Accessing
this This behavior can be accessed by clicking the Bind Reference Behavior icon ( ) in the Bind
behavior Based Behaviors toolbar.
Describing This behavior searches for the reference whose name or path is specified. To get more
this information about the Bind mechanism, see To know more about the Bind Mechanism...
behavior
Using this
Behavior
Interface
● A behavior.
Using this The expert user wants to find the reference associated with a product instance.
behavior
Business Process Knowledge Template Version 5 Release 14 Page 261
Accessing
this This behavior can be accessed by clicking the Bind Parameter Behavior icon ( ) in the Bind
behavior Based Behaviors toolbar.
Describing This behavior searches for the parameter whose name or path is specified. To get more
this information about the Bind mechanism, see To know more about the Bind Mechanism...
behavior
Using this
Behavior
Interface
● A behavior.
Relative Name: Enter the object name that you are looking for or an
access path (using the ../.. syntax).
Using this The expert user wants this behavior to find the parameter related to the height of a pad.
behavior
Business Process Knowledge Template Version 5 Release 14 Page 263
Accessing
this This behavior can be accessed by clicking the Bind Instance Behavior icon ( ) in the Bind
behavior Based Behaviors toolbar.
Describing This behavior searches for the instance whose name or path is specified. To get more
this information about the Bind mechanism, see To know more about the Bind Mechanism...
behavior
Using this
Behavior
Interface
● A behavior.
Relative Name Enter the object name that you are looking for or an
access path (using the ../.. syntax).
Note that if more than one instance have the same name as the one specified, the
instance returned will be the first encountered.
Using this Given a reference product, Vehicle, the expert user wants to find the instance of Vehicle in the
behavior root product.
Business Process Knowledge Template Version 5 Release 14 Page 265
Accessing
This behavior can be accessed by clicking the Bind Type behavior icon ( ) in the Type Tools
this
toolbar.
behavior
Describing This behavior searches for an object whose type name or path is specified.
this
behavior
Using this
Behavior
Interface
● A behavior.
The search will start from the object indicated in this field.
If nothing is indicated, the search will start from this
behavior.
Relative Name: Enter the object name that you are looking for or an
access path (using the ../.. syntax). The last name of the
path is a type name.
Business Process Knowledge Template Version 5 Release 14 Page 267
Definition
The Bind mechanism is a generic mechanism that enables the expert user to navigate through the V5 spec tree and
specify how to find an object that does not exist when defining the behavior. Binds can be concatenated.
Example: The expert user creates an application that will enable the end-user
to instantiate passengers into a vehicle. To do so, the expert user creates a
FilterCatalog behavior for the end-user to select a manikin in a catalog, he
then creates a LoadDocument behavior, for the end-user to load the manikin, a
BindObject and an InsertComponents Behavior.
The Business Process Knowledge Template applications is provided with 2 different types of binds: The Infrastructure
and the Design binds.
To define a bind, the expert user uses the bind interface. There are 2 different types of interfaces depending on the Bind
type. The Structure behaviors are provided with the following interface:
Reference: Select in the Behaviors tree an output containing an object (part, V5 items), or a structure behavior. If
nothing is indicated, the search will start from this behavior.
Relative The Relative name field can contain an object name or an access path. The Relative Name may be
Name: indicated by:
The Design behaviors are provided with one of the following interfaces:
Business Process Knowledge Template Version 5 Release 14 Page 269
User Feature Name and PowerCopy Name The expert user indicates the UDF or the PowerCopy
name. If no name is specified in this field and if the
document contains several PowerCopies or User
Features, the behavior will return the first PowerCopy
or the first UserFeature name it can find.
Business Process Knowledge Template Version 5 Release 14 Page 270
List Behaviors
Accessing
this This behavior can be accessed by clicking the Add item Behavior icon ( ) in the List
behavior Management toolbar.
Describing This behavior enables to add an object whose type is identical to the type of the objects
this contained in the list (if any).
behavior
Using this
Behavior
Interface
Object to add Object: Select the object that will be added to the list.
At position Enter the position of the item that will be added.
Options Allow If checked, enables the user to insert the same object twice
duplicate into the list.
elements:
Business Process Knowledge Template Version 5 Release 14 Page 272
Using this
See Designing a Table Using the Generate Component Behavior.
behavior
Business Process Knowledge Template Version 5 Release 14 Page 273
Accessing
this This behavior can be accessed by clicking the Remove item Behavior icon ( ) in the List
behavior Management toolbar.
Describing This behavior enables to remove an object contained in the list at a given position. It is also
this possible to remove all items of the list.
behavior
More Note that the objects to be removed from the list given in the
information internal attributes list can be defined in 3 ways:
● By valuating the position of the object to remove (attribute index)
● By valuating the ListItem with the object to remove.
● By selecting the "Remove All" check button: The list will be
cleared.
Using this
Behavior
Interface
Business Process Knowledge Template Version 5 Release 14 Page 274
Accessing
this This behavior can be accessed by clicking the Get item Behavior icon ( ) in the List
behavior Management toolbar.
Describing This behavior enables to retrieve one object from the list.
this
behavior
Using this
Behavior
Interface
Accessing
this This behavior can be accessed by clicking the Propagate Execution Behavior icon ( ).
behavior
Describing This behavior is designed to trigger the execution of a given object: If the object is a V5
this object, the update will be performed. If it is a behavior, the behavior will be executed.
behavior
Using this
Behavior
Interface
Operate Target: Select the object that you want to be executed in the
Behaviors tree.
Accessing
this
This behavior can be accessed by clicking the Information icon ( ).
behavior
Describing This behavior is designed to specify a message that will display when it executes. It is
this recommended to use it to display an error message for example.
behavior
Using this
Behavior
Interface
Using this When executing a behavior, the expert user finds out that an object was not published. The
behavior expert user uses this behavior to display a warning message for the end-user to fix the
problem.
Business Process Knowledge Template Version 5 Release 14 Page 279
Accessing
this This behavior can be accessed by clicking the Add Type Behavior icon ( ).
behavior
Describing This behavior is designed to associate technology to an object. The selected type is to be
this specified, as well as the .CATfct file in which the type is defined and the object to extend.
behavior
More Note that the output feature of this behavior is the object being
information typed.
Using this
Behavior
Interface
Catalog Name: Enter the name of the CATfct file containing this type.
Object to Type: Select the object to type in the Classes View or in the Behaviors tab.
Using this The expert user created a product and wants to associate the Vehicle type with this product.
behavior
Business Process Knowledge Template Version 5 Release 14 Page 281
● Copy/Paste Behavior
● KWScript Behavior
Reuse Behaviors
This set of behaviors is designed to enable the user to use existing features like PowerCopies, UDFs, KWScripts,
to copy and paste features and to import features.
Please find below the list of the behaviors belonging to the Reuse behaviors.
● Copy/Paste Behavior
● KWScript Behavior
Business Process Knowledge Template Version 5 Release 14 Page 283
Accessing
this This behavior can be accessed by clicking the Instantiate Template Behavior icon ( ) in the
behavior Reuse toolbar.
Describing This behavior enables to specify the instantiation of a PowerCopy, a UDF or a Document
this Template. The expert user specifies where the template will be instantiated. In case of a
behavior PowerCopy and a UDF, it is a part or a body; otherwise it is a product.
When defining this behavior, the expert user creates a few inputs that will be valuating the
inputs of the template during operation. With the Instantiate Template behavior, the expert
user has two ways of instantiating the template feature into the user workbench :
● With the standard instantiation panel, so that the user will valuate the inputs when
operating the behavior, through selection or through the Use Identical name functionality.
● Without the standard instantiation panel. To do so, the expert user will have to pre-valuate
the inputs of the template feature on the behavior.
For the indirect instantiation, three different valuation modes enable the expert user to pre-
valuate the inputs of the template feature :
● Use Identical Name: Is similar to the Use Identical Name option that the user can use in
the standard instantiation panel.
● Inputs Initialization: Enables to valuate the inputs of the template feature by adding
inputs to the behavior. To do so, use the Add button in the Defined inputs and parameters
field. This option is to be selected for parameters or geometric features only.
● Best Strategy: Uses the Use Identical Name option if need be and valuates the remaining
inputs by using the specifications indicated by the expert user:
Note that Document templates can now be instantiated using BKT.
To know more about UDFs, PowerCopies and Document Templates, see the Product Knowledge
Template User's Guide and the Part Design User's Guide.
Business Process Knowledge Template Version 5 Release 14 Page 284
More Note that the output feature of this behavior is a User Feature
information feature, the instantiated product of the document template, or
<unset> if the input was a powercopy.
Using this
Behavior
Interface
Defined inputs and Use this field to add, modify or delete parameters. To know
parameters: more, see the FilterCatalog Behavior.
More Info To get an example, see Creating a User Workbench: Defining the "Define Driver" Combination
on the IndirectVision Object and Using the Instantiate Template behavior.
Business Process Knowledge Template Version 5 Release 14 Page 286
Accessing
this This behavior can be accessed by clicking the External Reference Behavior icon ( ) in the
behavior Reuse toolbar.
Describing This behavior is designed to create an external reference in a part by specifying a geometrical
this feature. To know more about the creation of external references in Show mode, see the Part
behavior Design User's Guide.
Using this
Behavior
Interface
Import context Destination: Indicate the destination (a Part) of the import operation.
Accessing
this This behavior can be accessed by clicking the Copy/Paste Behavior icon ( ) in the Reuse
behavior toolbar.
Describing This behavior is designed to copy a feature and to paste it into a document. To know more
this about the Copy/Paste commands, see the Part Design User's Guide and the Shape Design &
behavior Styling manuals.
Using this
Behavior
Interface
Accessing
this This behavior can be accessed by clicking the KWScript Behavior icon ( ) in the Reuse
behavior toolbar.
Describing This behavior enables the user to specify how to execute a Generative Script. To know more
this about Generative Scripts, see the Product Knowledge Template documentation.
behavior
Using this
Behavior
Interface
Note that the KWScript capabilities require the Product Knowledge Template license.
Business Process Knowledge Template Version 5 Release 14 Page 292
Document Behaviors
This set of behaviors is designed to enable the user to reuse existing documents.
Please find below the list of the behaviors belonging to the Document behaviors.
Accessing
this This behavior can be accessed by clicking the Load icon ( ) in the Doc Based Behaviors
behavior toolbar.
Describing This behavior enables to load a document by specifying the name of this document. For all
this documents types, the expert user can:
behavior ● Leave the path unset. In this case, the behavior can operate and launches a File Open
dialog box enabling the user to select a file
● Specify the name of the document: In this case, the system uses the directory indicated in
the CATGraphicPath.
Note that the system does not make the document active.
Using this
Behavior
Interface
Business Process Knowledge Template Version 5 Release 14 Page 294
Using this I have a wheel that I want to instantiate 4 times into a vehicle. I use the Load behavior and I
behavior instantiate the wheels 4 times.
Business Process Knowledge Template Version 5 Release 14 Page 295
Accessing
this This behavior can be accessed by clicking the Create New From behavior icon ( ) in the
behavior Doc Based Behaviors toolbar.
Describing This behavior enables to perform a New from command. It enables the user to create a new
this document whose content is the same as an existing document. To know more about the New
behavior From command, see the Infrastructure documentation.
● Leave the path unset. In this case, the behavior can operate and launches a File Open
dialog box enabling the user to select a file
● Specify the name of the document: In this case, the system uses the directory indicated by
the CATGraphicPath.
Using this
Behavior
Interface
Business Process Knowledge Template Version 5 Release 14 Page 296
Note that this capability is available for the document types that support the New
From command.
Using this I have a manikin that can be the driver or the passenger (the positioning is different for the
behavior driver and the passenger). I use the New From behavior and I instantiate the result of this
behavior.
Business Process Knowledge Template Version 5 Release 14 Page 297
Accessing
this This behavior can be accessed by clicking the Filter Catalog Behavior icon ( ) in the Doc
behavior Based Behaviors toolbar.
Describing This behavior enables the user to open a catalog containing documents of features (like
this PowerCopies, or User Defined Features) by using the catalog browser. If the user used
behavior keywords to accelerate the search, the value of the keyword that will be used as a filter can be
specified in the behavior.
More ●
It is possible to define a query to filter the catalog during
information the execution of this behavior. To do so add inputs to the
behavior, their values will be used to filter the content of
the catalog.
●
Note that this behavior has 2 different outputs:
- ChosenPath is valuated if the catalog contains
documents. Chosen path will be the path of the
selected document. Feature is not valuated. See
the screen shot of a catalog containing
documents below. Click the graphic below to
enlarge it.
Using this
Behavior
Interface
Catalog File Indicate the catalog file path. Note that you do not have to specify
document path: the complete path. Catalogs are located by default in the directory
identified by the CATGraphicPath environment variable.
Note that you may also leave the path unset. In this case, the end-
user will select a catalog file in the user workbench.
● It is now possible to insert catalogs from ENOVIA VPM V5. To do
so, make sure you have enabled the Enovia environment in the
Document Environments field (Tools->Options->General-
>Document.) Your documents will be accessible via the
Document Chooser.
● It is now possible to insert catalogs from specific directories that
are assigned a logical name, referred to as a "DLName". To do so,
make sure you have enabled the DLName environment in the
Document Environments field (Tools->Options->General-
>Document.)
Filtering Enables the user to add keywords whose names will be identical to the ones
Keywords: contained in the catalog. These keywords will be used to filter and to navigate
though the catalog.
Using this The expert user uses a manikins catalog and wants to retrieve the manikins whose size
behavior matches the EEC standards.
Business Process Knowledge Template Version 5 Release 14 Page 300
Bind Behaviors
This set of behaviors enables the expert user to access resources not yet available at the definition stage. To get
more information about the Bind mechanism, see To know more about the Bind Mechanism...
Please find below the list of the behaviors belonging to the Bind behaviors.
Accessing
this This behavior can be accessed by clicking the Bind PowerCopy Behavior icon ( ) in the Bind
behavior Based Behaviors toolbar.
Describing This behavior is designed to retrieve a PowerCopy from a document by specifying the name of
this this PowerCopy as well as the document or a feature contained in the document. (As of today,
behavior PowerCopy definitions can be stored in a CATPart document.) This behavior does not support
Assembly templates. To get more information about the Bind mechanism, see To know more
about the Bind Mechanism...
Using this
Behavior
Interface
Bind context From object: Select in the Behaviors tree the feature or the
document from which the search operation should
be performed. The object indicated in this field can
be the output feature resulting from a Load
Document, or a Create New from action.
Using this The expert user saved PowerCopies in a part document and searches for one of these
behavior PowerCopies in the document.
Business Process Knowledge Template Version 5 Release 14 Page 303
Accessing
this This behavior can be accessed by clicking the Bind User Feature Behavior icon ( ) in the
behavior Bind Based Behaviors toolbar.
Describing This behavior is designed to retrieve a UDF from a document by specifying the name of this
this UDF as well as the document or a feature contained in the document. (As of today, UDF
behavior definitions can be stored in a CATPart document.) To get more information about the Bind
mechanism, see To know more about the Bind Mechanism...
Using this
Behavior
Interface
Bind context From object: Select in the Behaviors tree the feature or the
document from which the search operation should be
performed. The object indicated in this field can be the
output feature resulting from Load Document action, or
Create New from actions.
Using this The expert user saved User Features (UDFs) in a part document and searches for one of these
behavior User Features in the document.
Business Process Knowledge Template Version 5 Release 14 Page 305
Accessing
this This behavior can be accessed by clicking the Bind Part Behavior icon ( ) in the Bind Based
behavior Behaviors toolbar.
Describing This behavior is designed to retrieve a part from a CATPart document by specifying the
this document or a feature contained in this document. It can be associated with a Load
behavior Document, Create New From, or a Filter Catalog behavior. To get more information about the
Bind mechanism, see To know more about the Bind Mechanism...
Using this
Behavior
Interface
Bind context From object: Click in the Behaviors tree to select the feature or the
document from which the search operation should be
performed.
Business Process Knowledge Template Version 5 Release 14 Page 307
Accessing
this This behavior can be accessed by clicking the Bind Publication Behavior icon ( ) in the Bind
behavior Based Behaviors toolbar.
Describing This behavior searches for the publication whose name or path is specified. Given a part or a
this product, some elements (geometry and parameters) can be published. To get more information
behavior about the Bind mechanism, see To know more about the Bind Mechanism...
Using this
Behavior
Interface
● A behavior.
Relative Name Enter the object name that you are looking for or an
access path (using the ../.. syntax).
Using this ● Given a vehicle product, the expert user wants to find the floor.
behavior
● Given a manikin, the expert user wants to retrieve the H point.
Business Process Knowledge Template Version 5 Release 14 Page 309
Accessing
this This behavior can be accessed by clicking the Bind Product Instance Behavior icon ( ) in the
behavior Bind Based Behaviors toolbar.
Describing Given a product or a part, this behavior searches for the instance whose name or path is
this specified. If the input feature is a part, the output feature will be a product.
behavior Given a product Vehicle containing an instance of the product "Engine", this behavior enables
the user to find the instance of engine using the reference engine. In the case of a part used in
a product context, if the user specifies the part, the behavior will find the corresponding
product instance. If the product contains more than one instance, the behavior returns the first
one.
If the input feature is not a part, see Bind Instance Behavior: Data Sheet. To get more
information about the Bind mechanism, see To know more about the Bind Mechanism...
Using this
Behavior
Interface
Business Process Knowledge Template Version 5 Release 14 Page 310
● A behavior.
The search will start from the object indicated in this field.
If nothing is indicated, the search will start from this
behavior.
Relative Name Enter the object name that you are looking for or an
access path (using the ../.. syntax).
Business Process Knowledge Template Version 5 Release 14 Page 311
Accessing
this This behavior can be accessed by clicking the Display in Window Behavior icon ( ) in the
behavior Doc Based Behaviors toolbar.
● If this object is a feature belonging to another document, a new window will display and
the feature will be highlighted.
Using this
Behavior
Interface
Display context Feature or document to Select the output feature of a behavior whose
display: content will be displayed.
Business Process Knowledge Template Version 5 Release 14 Page 312
Business Process Knowledge Template Version 5 Release 14 Page 313
Accessing
this This behavior can be accessed by clicking the Insert Components icon ( )
behavior
Describing This behavior is designed to enable the expert user to insert a component into a product. It
this enables to create a new component or to insert an existing component by specifying the
behavior number of instances. In the case of contextual parts or products, the user can choose to change
the context.
This behavior supports the automatic update mode: If the number of instances is modified, the
behavior executes:
● If the number of instances is greater than the number of instances initially indicated, new
instances are added.
● If the number of instances is inferior to the number of instances initially indicated, instances
are removed.
Using this
Behavior
Interface
Change context for first instance If checked, enables the user to initialize
the context for the first instance. This
option is recommended if the inserted
part is contextual. To know more, see
the Product Structure User's Guide.
The Typing management field was removed from the user interface. This field
enabled the user to type instances and add sub-types. To do so, use the
Generate Components Behavior.
Using this
See Using the Insert Components Behavior: Auto update Mode.
behavior
Business Process Knowledge Template Version 5 Release 14 Page 316
Accessing
this This behavior can be accessed by clicking the Knowledge Relations Behavior icon ( ).
behavior
Describing This behavior is designed to enable the user to specify Knowledge Advisor relations (Formula, Rule, or
this Check).
behavior
Using this
Behavior
Interface
Immediate This check box is available only if the Automatic update mode is selected in the
update of Properties tab. If checked the Knowledgeware relations will be permanently active. If
the not, the behavior will be re-executed only when its input are modified.
relations:
The Content tab enables the user to access the Knowledgeware functions. The user can create:
●
Formulas. To create formulas, proceed as follows:
1. Create attributes in the Attributes tab (select Output in the Quality field). The
created attributes are displayed in the Content tab.
2. Right-click one of the output attributes in the Content tab and select the Edit
Formula... command.
3. Enter the formula and click OK. The formula displays under the Relations node in
the Content tab (see example below).
To know more about the Knowledgeware capabilities, see the Knowledge Advisor User's
Guide.
Using this
See Knowledge Relations: Using the if...else syntax.
behavior
Note that the Knowledge Relations behavior requires the Knowledge Advisor license.
Business Process Knowledge Template Version 5 Release 14 Page 318
Accessing this
behavior This behavior can be accessed by clicking the Knowledge Certify Behavior icon ( ) in the
Knowledge toolbar.
MORE To reuse existing rule bases, the user can save them into catalogs. A FilterCatalog behavior
INFORMATION will therefore be located before this behavior in the sequence.
It is possible for the user to define rule bases containing technological objects as well as
their attributes. These rule bases are defined in CATPart, and CATProduct documents and
saved in catalogs. To know more, see the Knowledge Expert User's Guide.
Using this
Behavior
Interface
Business Process Knowledge Template Version 5 Release 14 Page 319
Define knowledge Rule Indicate the "Rule Base to use" generally valuated the
base base output feature of the catalog.
Feature to certify Object Click in the Behaviors tree to select the output link of
bind object, bind part or bind UDF behaviors. It is the
object to which the rulebase will apply: "Object to
check".
To Know more To see an example, see Using the Knowledge Certify Behavior.
Business Process Knowledge Template Version 5 Release 14 Page 320
This set of behaviors is designed to subscribe to an event to react to this event. The expert user either specifies:
● A behavior or
● A V5 feature or
● The child of a structure behavior: In this case the user should specify the name of the child. If many children
have the same name in a structure the event will occur several times.
Please find below the list of the behaviors belonging to the Event-based behaviors .
Note that Onxxx behaviors should be located outside the sequences that they subscribe to, that
is to say, the Onxxx behaviors cannot subscribe to one of their ancestors in the specification
tree.
Business Process Knowledge Template Version 5 Release 14 Page 321
Accessing
this This behavior can be accessed by clicking the On Done Behavior icon ( ) in the Event Based Behaviors
behavior toolbar.
Describing This behavior is designed to track the completion of the execution of another behavior or the update of a
this feature. When the execution of the behavior or the update of the feature is completed, the On Done behavior
behavior executes.
Using this
Behavior
Interface
Track Father Object to Survey In the behaviors tree, select the father object whose
completion is tracked.
Children Objects This field displays the behaviors located below the main
behavior.
Click the Add button to add children objects.
Business Process Knowledge Template Version 5 Release 14 Page 322
Child Object to Survey Use the arrows to select the behavior that will be
tracked and that will activate the On Done behavior.
Add button Use this button to add a behavior that will be part of the
structure.
Accessing
this This behavior can be accessed by clicking the On Create Behavior icon ( ) in the Bind Based Behaviors
behavior toolbar.
Describing This behavior is designed to track the creation of another behavior known as the Father Object. When the
this creation of the behavior is completed, the On Create behavior executes.
behavior
Using this
Behavior
Interface
Track Father Object to Survey In the behaviors tree, select the father.
Children Objects This field displays the behaviors located below the main
behavior.
Click the Add button to add children objects.
Business Process Knowledge Template Version 5 Release 14 Page 324
Child Object to Survey Use the arrows to select the behavior that will be tracked and
that will activate the On Create behavior.
Add button Use this button to add a behavior that will be part of the
structure at run time.
Business Process Knowledge Template Version 5 Release 14 Page 325
Accessing
this This behavior can be accessed by clicking the On Remove Behavior icon ( ) in the Event Based Behaviors
behavior toolbar.
Describing This behavior is designed to track the deletion of another behavior known as the Father Object. When the
this deletion of the behavior is completed, the On Remove behavior executes
behavior
Using this
Behavior
Interface
Track Father Object to Survey In the behaviors tree, select the father object.
Children Objects This field displays the behaviors located below the main
behavior.
Click the Add button to add children objects.
Child Object to Survey Use the arrows to select the behavior whose deletion will be
tracked and that will activate the On Remove behavior.
Business Process Knowledge Template Version 5 Release 14 Page 326
Add button Use this button to add a behavior that will be part of the
structure.
Business Process Knowledge Template Version 5 Release 14 Page 327
Accessing
this This behavior can be accessed by clicking the On Cancel Behavior icon ( ) in the Event Based Behaviors
behavior toolbar.
Describing This behavior is designed to track the failure of another behavior known as the Father Object. When the
this failure of the behavior is detected, the On Cancel behavior executes.
behavior
Using this
Behavior
Interface
Track Father Object to Survey In the behaviors tree, select the father object.
Children Objects This field displays the behaviors located below the main
behavior.
Click the Add button to add children objects.
Business Process Knowledge Template Version 5 Release 14 Page 328
Child Object to Survey Use the arrows to select the behavior whose failure will be
tracked and that will activate the On Cancel behavior.
Add button Use this button to add a behavior that will be part of the
structure.
Business Process Knowledge Template Version 5 Release 14 Page 329
Workbench Description
This section contains the description of the icons and menus specific to the Business Process Knowledge
Template workbench.
The Business Process Knowledge Template workbench is shown below. Click the sensitive areas (toolbars) to
access the related documentation.
The Generate Report icon enables you to generate a report. This function allows you to generate an
external file. The report will display all the objects under the Classes View of the specifications tree. It
will also display all the attributes associated with an object. To know more about this function, see the
Product Structure User's Guide.
Symbols
This symbol indicates that the behavior mandatory specifications are missing.
Interface Description
●
Behaviors
●
Attributes
● L40
● FootAngle
● XPosition
● YPosition
● ZPosition
● AnkleAngle
● KneeAngle
● HipAngle
● HeelHipDistance
4 combinations of behaviors:
● Generate geometry
● Percentile
● L40
● FootAngle
● AnkleAngle
( ) in the Behaviors
management toolbar.
Customizing
1. Select the Tools -> Options command. The Options dialog box displays.
2. Expand the Knowledgeware option and click the Business Process Knowledge
Template tab. The Business Process Knowledge Template tab displays containing the
❍ Access Rights
❍ Behavior operation
❍ Specification tree
Access Rights
This scrolling list enables the expert user to determine who will be able to access the generated
workbench.
All Users
Only the User can access the workbench.
Expert&Administrator
The Administrator and the Expert user can access the workbench.
Expert
Business Process Knowledge Template Version 5 Release 14 Page 343
The expert user is the only one who can access the workbench. This mode is used when the
expert user wants to test the generated workbench.
Behavior operation
With messages
If checked, enables the expert to user to decide if he wants messages to be displayed or not when
testing the workbench.
Note that this option is available only if the user selected Expert or Expert in the Access Rights
field.
Specification tree
All variables
All variables belonging to the technological type and all parameters of the product are displayed in
the generated workbench under the "Variables" node.
Only the variables belonging to the technological types as defined in BKT will be displayed in the
generated workbench.
No variables
No variables are displayed in the generated workbench.
Glossary
Many of the definitions included in this glossary are only pertinent within the CATIA Business Process Knowledge
Template context.
Symbols
.CATfct The extension of a Feature Dictionary and Business Process Knowledge
Template file. A .CATfct file contains the technological objects and
behaviors.
.CATScript The extension of a macro file generated by CATIA Version 5.
A
activity A property which defines whether a relation is applied to a document or
not. The activity value is either true or false. It is indicated by an icon
in the specification tree and can also be read in the document
parameter list.
ActiveX URL Behavior A behavior designed to open a HTML page that can interoperate with
CATIA V5 using VB Script.
B
behavior A set of tasks performed on a technological object.
Bind Product Instance Behavior A behavior designed to search for a product instance.
Bind User Feature Behavior A behavior is designed to retrieve a UDF from a document by specifying
the name of this UDF as well as the document or a feature contained in
the document.
Business Process Knowledge Template Version 5 Release 14 Page 346
Bind Part Behavior A behavior is designed to retrieve a part from a CATPart Document by
specifying the document or a feature contained in this document.
Bind Behaviors A set of behaviors enabling the user to access resources not yet
available at the definition stage.
Bind Reference Behavior A behavior that searches for the reference whose name or path is
specified.
Bind Instance Behavior A behavior that searches for the instance of a specified object.
Bind Type Behavior A behavior searches for the type whose name or path is specified.
C
check A set of statements intended to provide the user with a clue as to
whether certain conditions are fulfilled or not. A check does not modify
the document it is applied to. A check is a feature. In the document
specification tree, it is displayed as a relation that can be activated and
deactivated. Like any feature, a check can be manipulated from its
contextual menu.
Create New From Behavior A behavior designed to perform a New from command.
Copy/Paste Behavior A behavior designed to copy a feature and to paste it into a document.
Create External Reference Behavior A behavior designed to create an external reference in a part by
specifying a geometrical feature.
F
Filter Catalog Behavior A behavior that enables the user to open a catalog containing features
by using a catalog.
Insert Components Behavior A behavior designed to insert a new component into a product.
K
The set of software components dedicated to the creation and
manipulation of knowledge-based information. Knowledge-based
knowledgeware information consists of rules and other types of relations whereby
designers can save their corporate know-how and reuse it later on to
drive their design processes.
L
A behavior designed to link two behaviors of one of the extended
Link Parameters Behavior
objects.
Business Process Knowledge Template Version 5 Release 14 Page 348
O
A behavior designed to track the failure of another behavior known as
On Cancel Behavior
the Father Object.
On Remove Behavior A behavior designed to track the deletion of another behavior known as
the Father Object.
P
parameter A feature defining a document property.
Propagate Execution Behavior A behavior designed to launch the execution of a given object.
R
relation A knowledgeware feature which, depending on certain conditions:
● sets parameter values
● displays a message
● or runs a macro.
S
Sequential Combination Behavior A combination of behaviors designed to execute in a sequential order.
Synchronize Parameters Behavior A behavior designed to synchronize two behaviors of the extended
objects.
T
Technological Object An object used in the Business Process Knowledge Template
workbench.
A technological object is made up of three sets of components:
● A type
● A set of attributes
● A set of behaviors
U
URL Behavior A behavior designed to open a HTML page.
V
VBScript Behavior A behavior designed to run a VBScript.
Business Process Knowledge Template Version 5 Release 14 Page 350
Index
Symbols
.catalog
.CATDrawing
.CATfct
.CATProcess
.CATProduct
.CATScript
.CATvbs
.HTML
A
access path
access rights
activate
example
adding a component
adding an attribute
administration
reminder
aggregation
attribute
attributes
display
attributes node
autodelete
B
behavior
activex url
add components
add item
add type
bind instance
bind object
bind parameter
bind part
bind powercopy
bind publication
bind reference
bind type
command
copy/paste
creating
display in window
editing
Business Process Knowledge Template Version 5 Release 14 Page 352
executing
filter catalog
generate components
get item
information
insert components
instantiate template
knowledge certify
knowledge relations
kwscript
link parameters
linking
load document
loop
on cancel
on create
on done
on remove
propagate execution
remove item
synchronize parameters
system
typing, attribute
url
VBScript
behavior pattern
behaviors interface
behaviors view
bind behaviors
bind part
bind mechanism
bind part
bind publication
C
caa command
CATGraphicPath
catiaenv command
CATPart
CATReferenceStandardPath
CATStartupPath
CATStartupPath variable
CATTemp
CATUserSettingPath
CATUserSettingPath variable
check
classes view
combination
logical
Business Process Knowledge Template Version 5 Release 14 Page 354
sequential
combining behaviors
command
Add Attribute
catiaenv
Command Behavior
Copy-Paste Behavior
Information Behavior
Loop Behavior
On Cancel Behavior
On Create Behavior
On Done Behavior
On Remove Behavior
setcatenv
System Behavior
URL Behavior
VBScript Behavior
component
concatenate
condition
control
copy/paste behavior
creating a check
creating a formula
creating a rule
creating behaviors
customizing
D
defining a workbench
deploy
document behavior
E
editing behaviors
environment editor
event-based behaviors
en remove behavior
on cancel behavior
on create behavior
on done behavior
executable file
executing behaviors
execution error
execution messages
exploiting messages
Business Process Knowledge Template Version 5 Release 14 Page 357
external reference
externalobject attribute
F
feature dictionary tree
filter catalog
fixing a problem
focus
formula
G
generate components behavior
part design
Product structure
product structure
system context
generating a report
global environment
H
html page
Business Process Knowledge Template Version 5 Release 14 Page 358
I
if...then...
if...then...else
if...then...else syntax
implementation behaviors
activexurl behavior
command behavior
system behavior
URL behavior
VBScript behavior
information behavior
input attribute
input error
insert components
instantiate template
instantiating objects
interface description
internal attribute
io based behaviors
K
keyword
kwscript behavior
Business Process Knowledge Template Version 5 Release 14 Page 359
L
link parameters behavior
linking behaviors
list
list behaviors
ListSize attribute
local attribute
local operate
logical combination
loop behavior
M
manage errors
message
N
navigate in the product structure
O
object
on cancel behavior
on create behavior
on done behavior
Business Process Knowledge Template Version 5 Release 14 Page 360
on remove behavior
onxxxx behaviors
operate
operating behaviors
output attribute
P
part design
generate workbench
part structure
generate workbench
path
problem
product structure
generate workbench
propagate
R
referenced dictionary
relative name
reminder
report
reuse behavior
copy/paste behavior
kwscript behavior
reuse behaviors
reuse models
rule
S
safe save
sequential combination
set of equations
setcatenv command
shell
structure behavior
symbols
system behavior
system context
generate workbench
T
TargetSize attribute
technological object
defining
technological type
toolbar description
Business Process Knowledge Template Version 5 Release 14 Page 362
TypeName_Instanciate
U
update
auto
driven
single
url behavior
use cases
user environment
user feature
user workbench
generating
V
vb script
vbscript behavior
W
Business Process Knowledge Template Version 5 Release 14 Page 363
warning panel