KNF mt15130 S
KNF mt15130 S
Student Guide
September 2008
MT15130 — NX 6
Publication Number
mt15130_s NX 6
Proprietary and restricted rights notice
Course overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Course description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Intended audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Course objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
How to use this manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Lesson format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Activity format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Learning tips . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
NX Help Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
The Learning Advantage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Class standards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Student responsibilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Part naming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Classroom system information . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Overview of Knowledge Based Engineering . . . . . . . . . . . . . . . . . . . . . . . 1-2
What is Knowledge Based Engineering (KBE)? . . . . . . . . . . . . . . 1-3
Key technological features of a KBE system . . . . . . . . . . . . . . . . . 1-4
Why use KBE? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
Difference between KBE and parametric modeling . . . . . . . . . . . . 1-6
KBE example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7
Knowledge Fusion overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8
Who will use Knowledge Fusion (KF)? . . . . . . . . . . . . . . . . . . . . . 1-9
What is Knowledge Fusion? . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-10
Why use Knowledge Fusion? . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-11
What is a DFA file? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-12
The Knowledge Fusion application . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-13
KF toolbar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-14
KF Applications dialog box . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-15
DFA Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-16
Activity — The remote controlled airplane . . . . . . . . . . . . . . . . . 1-18
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-26
Adoption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
The Adoption concept . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
Adopt Existing Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
Procedure: Adopt existing objects . . . . . . . . . . . . . . . . . . . . . . . . 4-4
Activity — Adopt existing objects . . . . . . . . . . . . . . . . . . . . . . . . . 4-5
Activity — Adopt blends and control the blended edges . . . . . . . 4-11
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-16
Assemblies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1
Knowledge Fusion Assemblies concepts . . . . . . . . . . . . . . . . . . . . . . . . . 6-2
Activity — Create a simple chassis assembly . . . . . . . . . . . . . . . . 6-5
Activity — Create a KF driven assembly . . . . . . . . . . . . . . . . . . 6-11
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-26
Optimization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1
Optimization concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2
General Optimization process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-4
Activity — Optimize the volume of a squeeze bottle . . . . . . . . . . . 7-5
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-10
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Index-1
Course description
Knowledge Fusion for Designers is an overview of the NX Knowledge
Fusion application. Knowledge Fusion enables you to develop applications
and control NX objects via engineering rules that extend beyond a purely
geometric nature. With the power of Knowledge Fusion, you can construct
reusable and associated knowledge driven components that are easy to control
and manipulate, so that the design intent or design goal can be achieved.
Intended audience
• Designers
• Engineers
• High-end NX users
Course objectives
This is an introductory course for Knowledge Fusion. After successfully
completing this course, you should understand and be able to use the
following Knowledge Fusion supported functions:
• Basic concepts of Knowledge Fusion
• KF Design Control
• Adoption
• KF Assemblies
• KF Optimization.
Prerequisites
• Essentials for NX Designers or self paced equivalent
Lesson format
• Summary
Activity format
Always read the Cue and Status information while working through
activities and as you perform your regular duties.
As you gain skills you may need only to read the step text to complete
the step.
Learning tips
• Ask questions.
NX Help Library
The NX Help Library is available online any time you need more
information about a function. To access the NX Help Library; choose
Help→Documentation from the menu bar or, from the Resource bar of your
NX window, click the Help tab.
Throughout this course specific online help paths will be displayed to help
you locate additional information. The path names will be displayed in the
following manner.
See Also: Getting Started®Customizing NX®Customer Defaults.
For more information about the Learning Advantage visit our web site
http://training.ugs.com or send e-mail to training @ugs.com.
Class standards
Student responsibilities
• Be on time.
• Ask questions.
• Have fun!
Part naming
You will occasionally be asked to enter a new part name for projects that
should be saved for later use. Use your initials as a prefix to the existing part
name and save the part in your home directory
Your instructor will provide you with the following items for working in the
classroom:
User name:
Password:
Work Directory:
Parts Directory:
Instructor:
Date:
1 Introduction
Purpose
Objective
1
Overview of Knowledge Based Engineering
The concept of Knowledge Based Engineering (KBE) is broad. The basic
idea is to find ways of recording different kinds of knowledge about how to
engineer, design, and configure a product in a way that allows it to be easily
found, understood, reused, and maintained.
This section answers the following questions:
• What is Knowledge Based Engineering?
• KBE example
1
What is Knowledge Based Engineering (KBE)?
• Handbooks
• Engineering formulas
• Proprietary software
Being able to create and reference such knowledge bases and make them
readily available as an aid to the engineering process constitutes Knowledge
Based Engineering. KBE is the key to being able to answer questions that
traditional CAD systems have not been capable of addressing, such as:
• What was the rationale behind this design?
1
Key technological features of a KBE system
1
Why use KBE?
1
Difference between KBE and parametric modeling
1
KBE example
In this example, there are three types of drive couplings available.
1. Flanged face coupling that allows the input and output shafts to have
different diameters.
You can set up the automated layout of the coupling using standard
engineering inputs. The following are the engineering and configuration
rules that control the coupling type:
- torque
(33000*horsepower)/(2π*rpm)
- coupling type
If (input_radius != output_radius)
Then Flanged Face Coupling
Else If (torque < 100.0)
Then Keyless Compression Coupling
Else Keyed Clamp Coupling
1
Knowledge Fusion overview
Knowledge Fusion (KF) is a fully integrated Knowledge Based Engineering
(KBE) technology within NX. As a next-generation CAD/CAM/CAE tool, the
Knowledge Fusion product has the potential to revolutionize the way an
organization solves and automates repetitive engineering problems.
This section will answer the following questions:
• Who will use Knowledge Fusion?
1
Who will use Knowledge Fusion (KF)?
• End users who create and update parts with instances of class files using
the Knowledge Fusion Navigator or Open User Interface Styler interface.
• Design Engineers who create or edit files using the Knowledge Fusion
Navigator interface, and then use instances of these files in a part.
1
What is Knowledge Fusion?
1
Why use Knowledge Fusion?
With the integration of Knowledge Fusion, a single data model can be used to
manage both parametric and knowledge based part information. It can also
capture rules and requirements from the engineering community and convey
this information smoothly into design definitions through the instantiation of
class files within an NX part.
With this capability, NX is raised to the status of a design automation
or Predictive Engineering product. This is because Knowledge Fusion
is a knowledge based language, and can capture both geometric and
non-geometric attributes of a given part or assembly, and write the rules
which describe the process to create it. This gives you the ability to capture
intelligence and engineering know-how within the CAD/CAM/CAE part.
1
What is a DFA file?
A DFA file is ASCII code; the letters DFA mean DefClass/Defun File ASCII.
The .dfa extension should only be used for class and function definitions
within the Knowledge Fusion application.
This language is used to develop the rules used by the Knowledge Fusion
application. You will be using the end product of this source code throughout
this course.
See Also: Automation®Knowledge Fusion ®Knowledge Fusion Help
and Best Practices®KBE and Generative Modeling®DFA file overview
1
The Knowledge Fusion application
To access the Knowledge Fusion application, choose Start→All
Applications→Knowledge Fusion from the menu bar in NX.
There are two ways to display the Knowledge Fusion toolbar:
• Right-click in the toolbar area of the NX window and choose Knowledge
Fusion.
You can add or remove icons from the toolbar by clicking the small
arrow near the right side of the toolbar.
1
KF toolbar
Adopt Existing Object opens the KF Applications dialog box and lets
you to access any user-created interface dialog boxes that have already
been made and stored.
Class Editor opens a text editor that has enhanced features for
working with classes.
DFA Manager controls the DFA search path precedence and checks
the syntax of one or more classes.
Delayed Update on Edit lets you create and edit rules but not update
your part until you issue a command to do so.
Update Now lets you update your part with KF rules when you have
the Delayed Update on Edit option enabled.
Part Inspector lets you expand and collapse tree nodes to look at
rules and their values and formulas in the specified parts.
Remove All Rules removes all KF rules from the current part
without affecting the part geometry.
1
KF Applications dialog box
1
DFA Manager
The DFA Manager dialog box allows you to manage the .dfa files you use.
To display the DFA Manager dialog box, click DFA Manager on the Knowledge
Fusion toolbar or choose Tools→Knowledge Fusion→DFA Manager.
The DFA Manager lets you:
• View all of the DFA files in the current search path for user classes.
You must first define search directories to load dfa files into an NX session.
You can define multiple search directories and specify their order.
To view the .dfa files within a directory, select the directory location from the
list, the .dfa parts will display in the Choose Files For Syntax Check box.
1. Start the Knowledge Fusion application.
3. In the DFA Manager dialog box, click Browse, navigate to the appropriate
directory, and click OK.
4. Click OK.
1
Check DFA syntax
You can use the DFA Syntax Check to verify the contents of dfa files located
in a search directory.
1. Start the Knowledge Fusion application.
3. From the Search Directories list, select a directory containing the dfa
file to check.
4. From the Choose Files for Syntax Check list, select one or more DFA files.
6. If you wish to load the DFA files into your NX session after a successful
check, select the Load on Successful Check check box.
7. Click OK.
1
Activity — The remote controlled airplane
In this activity, you will instantiate a design of a remote controlled airplane,
examine the performance characteristics of the default design, and then
change the design to achieve better performance. This activity is an example
to show the capabilities of Knowledge Fusion.
Step 1: Start NX.
Click New .
Click OK.
Step 3: Start the Knowledge Fusion application and display the Knowledge
Fusion Navigator.
Choose Start®All Applications®Knowledge Fusion.
Click OK twice.
You can also specify Knowledge Fusion search directories by
choosing Preferences®Knowledge Fusion.
1
If you do not see the toolbar, right-click in the toolbar area
and choose RC_DESIGN.
1
Step 6: Examine the rules that were created and modify the design.
In the Knowledge Fusion Navigator, expand the rules for the
rc_plane (aircraft_design) by clicking the "+" sign.
Click Engine.
Notice the values such as RPM and Top Speed at the bottom
of the dialog box. These labels monitor the KF calculated
1
values for the current configuration and report any changes
to the design.
Click OK.
Click OK.
1
Step 9: Edit the Wing parameters and update the design.
In the Aircraft Design dialog box, click Wing.
Click OK.
1
Step 11: Edit the Tail Efficiency
Click the Systems tab.
Click Tail.
Click OK.
1
Step 12: Edit the Landing Gear design configuration.
Click the Systems tab.
Click OK.
1
Summary
In this lesson you:
• Learned definitions and terms related to KBE and Knowledge Fusion.
Purpose
Explore the Knowledge Fusion Navigator and Child Rules used in the
Knowledge Fusion application.
Objective
KF Navigator overview
The Knowledge Fusion Navigator displays the object tree which depicts the
KF language view for a single instance of a parametric part or assembly.
Each object node in the tree represents either an instance of a class or an
2 attribute of a single instance of a class.
For the end user of a Knowledge Fusion application, the Knowledge Fusion
Navigator allows:
• Graphical instantiation of a Knowledge Fusion design.
• Referencing ability.
KF Navigator tree
The Knowledge Fusion Navigator displays an object tree which depicts the
KF language view for a single instance of a parametric part or "assembly".
2 Each object node in the tree represents either an instance of a class or an
attribute of a single instance of a class.
The KF Navigator acts as the visual and functional doorway for maintaining
parametric relationships within the KF application.
There are several types of nodes:
• Root Node (1) is the base of the tree and has no parent. All Instances
within the part will branch off of the Root.
• Rules that display in blue are dynamic rules. Dynamic rules are those
that you create explicitly in the current part and can be edited.
Shortcut menus
You can use shortcut menus in the Knowledge Fusion Navigator to manage
your data efficiently.
2 There are different shortcut menu options available when you right-click
an instance or child node, right-click an attribute node, or right-click in the
background of the Knowledge Fusion Navigator.
root
Attributes
Instance
Attributes
Child Node
• Add Child Rule lets you add a child rule at the root level.
• Add Child List Rule lets you add a child list rule at the root level.
• List Rules lists the dynamic rules of a part in a window. This window
is your mechanism for saving these dynamic rules as a .dfa file by
completing a File®Save operation.
• Reload All updates your file if you edit one or more DFA files while in
an NX session.
• Regenerate All recompiles all of the DFA files in your search path.
• Rebuild Tree updates the Object Tree display. This option can be useful
when you are tracking down an error or have performed edits.
• Evaluate Temporary Rule lets you evaluate a rule before you actually
create the rule in the part.
• Delete Rule and Object remove the currently selected child rule from your
part. Any associated geometry is also deleted.
• Inspect Instance lets you use the Instance Inspector dialog box to view
the rules of an object in an object tree.
• Rename lets you modify the names of instances and attributes that are
not referenced as values.
These shortcut menu options are unique to objects under the Attribute Node:
• Edit appears in the menu if the attribute is available for editing.
Otherwise, the View option appears. The View option displays the View 2
Attribute dialog box.
• Reference causes the correct reference chain for the selected rule to be
inserted at the current text cursor position within the text for the rule
currently being edited.
• Delete deletes selected items. To delete multiple items, select the items,
right-click one of the selected items, and choose Delete.
The background shortcut menu options are available when you right-click in
the background area of the KF Navigator or right-click a column title.
2 • Export to Browser will export an HTML file of the Knowledge Fusion
Navigator.
• Inspect Rules in Other Parts lets you view rules and their values and
formulas for parts that you specify from a list of parts loaded in the
current session.
• Find will start the Find Rules dialog box which lets you locate child rules
and attributes that contain a specified string.
• Reference by Select this option lets you interactively obtain the identifier
for an NX object and paste a reference to it in a KF dialog box by selecting
it from the graphics window. This option is available when the Add
Attribute or Add Child Rule dialog boxes are displayed. If the selected
object has a corresponding instance node in the KF Navigator, an instance
reference is pasted, otherwise a host pointer reference is pasted.
KF Navigator properties
The KF Navigator allows you to determine the display and behavior of the
objects within the navigator by using the Properties dialog box. Use the
Background right-click option to access the Properties dialog box. 2
See Also: Automation®Knowledge Fusion ®Knowledge Fusion Help
and Best Practices®Knowledge Fusion fundamentals®Dialogs and
menus help®Knowledge Fusion Navigator (KFNT)®Properties.
General tab
Under the General tab, the Show Attributes menu gives you the option of
showing None, or no attributes, All attributes or enabling existingFilters.
Listed below are the Filtering options available:
• Dynamic Attributes shows only attributes created interactively.
• Preselection Highlight when this is turned on, objects will highlight in the
graphics window when you pass your cursor over an instance attribute in
the Knowledge Fusion Navigator.
• Keystroke Filtering will let you filter class and function names as you
type characters.
Columns Tab
The Columns tab will let you adjust the information displayed in the KF
navigator. Although the Name column is always on you can change the
display for the Value and Object Name columns.
2
Sorting Tab
Under the Sorting tab, you can set preferences for how the display of
Attributes and Child Rules are sorted in the Knowledge Fusion Navigator.
There are three options available:
• Order from Class — Lists attributes in the order defined in the DFA file.
What is a Class?
A class is a named collection of rules which provides the master definition
for an entity. The class might be geometrical such as a line or a block. The
class can be non-geometric such as properties of mass. Knowledge Fusion
offers many "system" classes whose names begin with the prefix "ug_". For
example, ug_block and ug_mass_properties. A class has attributes that
receive values (parameters). Some of the attributes for ug_block are length,
width, height, and origin.
See Also: Automation®Knowledge Fusion ®Knowledge Fusion Help
and Best Practices®Programming elements®KF classes and methods.
Click New .
In the Name box, type ***_coupling where *** are your initials.
Click OK.
Step 2: Start the Knowledge Fusion application and access the KF toolbar.
Choose Start®All Applications®Knowledge Fusion.
Click OK twice.
Click OK.
coupling (flanged_face_coupling)
Attributes
bolts (radial_bolt_group)
flanges (coupling_flange)
2
Expand the flanges node.
flanges (coupling_flange)
flanges_1 (coupling_flange)
flanges_2 (coupling_flange)
In the Rule for Parameter box, remove 0.75 and type 1.0.
Click OK.
Click OK.
Step 9: Use the Instance Inspector dialog box to show the unit_cost.
Click Close.
Add Attributes
The Add Attribute dialog box lets you add a Knowledge Fusion attribute to
any child rule in the object tree of the KF Navigator. An attribute in KF is
not the same as an attribute in NX.
2
The KF attribute must have a name (user defined) and has a value of a
designated type. In a programming environment a KF attribute is similar
to a variable.
• Formula
Extended Text Entry — Opens a large Extended Text Entry dialog box
where you have more room to compose a rule. This dialog box also assists you
with function, conditional, and loop builders.
See Also: Automation®Knowledge Fusion ®Knowledge Fusion Help
and Best Practices®Knowledge Fusion fundamentals®Dialogs and
menus help®Knowledge Fusion Navigator (KFNT)®Extended Text
Entry
The lower portion of the dialog box will let you determine if extra behavioral
actions should take place with the user defined attribute values or if an
additional identifier needs to be added to the attribute.
Input Parameter specifies that the attribute is an input to the class and
might receive a value when the class is instantiated.
Modifiable specifies that the attribute’s value may be set via an external
program or interface.
Uncached specifies that the attribute’s value is not saved in memory. The
attribute recalculates its value every time it is referenced by another
attribute.
Evaluate It when turned on, evaluates the attribute after you create it.
An attribute’s value has a range which is specified by its type. If you type
the wrong value in the Formula text box you will receive a data type error
message. 2
Attributes can have any one of the following types with the corresponding
formula:
Boolean is either TRUE or FALSE.
Edit Attributes
The Edit right-click shortcut menu option lets you edit any Attribute that is
open for editing.
2 If you do not have the correct permissions to edit the attribute the View
right-click menu option is available in the list. This option will allow you to
view the current rules controlling the selected attribute.
The structure below shows two locations of the Attribute node within the
KF Navigator.
root
Attributes
children (List)
onCreate (Any)
dc (drive_coupling)
Attributes
coupling (flanged_face_coupling)
Attributes
children (List)
onDelete? (Boolean)
In this activity, you will create four attributes: height, width, thickness, and
position in the KF Navigator. These attributes will be used in the next activity.
Click New .
In the Name box, type ***_door where *** are your initials.
Click OK.
Step 2: Start the Knowledge Fusion application and display the Knowledge
Fusion toolbar.
Select the following check boxes. (Clear all other check boxes.)
Input Parameter
Modifiable
Evaluate It
Click Apply.
Click Apply.
Click Apply.
Click OK.
• Specify Rule for Class lets you specify a class by typing in a formula
and parameter.
You must type a name for the child rule class In the Name box.
You select a class from the list in Class section of the dialog box. Since there
may be many system and user classes available, you can define a filter by
class name or by the class folder to shorten the class list.
• You can click Filter by Folder to define a filter based on selected folders.
Select the check box to enable the filter. If you clear the check box, all
classes are listed.
• You can type portion of a class name in the Name Filter box.
When you click Filter by Folder, a dialog is displayed to specify which folders
of classes to include in the filter.
• Select all System will select all the system folders. System classes have a
prefix of nx_ or ug_.
2
• Select All User will select all user folders which contain user classes.
When you select a Class for the Child Rule, the Input Parameters section of
the dialog box will list all the input parameters for the class.
This KF Navigator option lets you use a Child List Rule to create a list of
instances in one rule.
2
The Add Child List Rule dialog box is similar to the Add Child Rule dialog
box except that it includes the quantity (Integer) parameter and can use
the child:index: attribute.
The key to the child list is the integer quantity parameter, which specifies
how many child instance objects to create and the index attribute which
indexes each child instance in the list. The index attribute increments by
one for each instance created.
To use the index attribute, you reference the attribute as child:index:. Child:
refers to the current child in the list and index: refers to the value of the index.
For example, you could create a child list rule for ug_arc and set quantity to 3
and radius to child:index: which creates three arcs with radii of 1, 2, and 3.
Copy Rule
Use this KF Navigator option to copy a Child Rule and all of its attributes or
copy a single attribute rule. Right-click the child rule or attribute rule you
2 want to copy and choose Copy Rule.
Child rules can only be placed under the root, so the parent name for a
child rule is root: and can not be edited.
• New Object Name this box lets you type the name of the rule for your copy.
Copy Rule pastes the copied rule under the parent node when you choose
OK or Apply.
Use this KF Navigator option to edit an existing Child Rule or Child List Rule.
From the Knowledge Fusion Navigator, right-click a child rule or child list
rule and choose Edit. You can only edit child rules and child list rules at the 2
root level and cannot rename a child rule.
You can edit Knowledge Fusion child rules and application objects by
double-clicking the object in the graphics area. However, you must first
change the lockRule? to TRUE before you can gain access to the Edit dialog
box.
See Also: Automation®Knowledge Fusion ®Knowledge Fusion Help
and Best Practices®Knowledge Fusion fundamentals®Dialogs and
menus help®Double-Click Overview.
Click OK.
Step 5: Define the door height parameter and position the door.
From the Input Parameters list, select Height (Number).
Click OK.
Type subtract;
Click OK.
If you receive an Error Message, verify the formula for
Origin child rule.
Type 2;.
Type 3;.
Type Vector(1,0,0);.
Click OK.
Your door design should now include the knob rule and your KF
Navigator should be similar to the structure below.
root
Attributes
door (ug_block)
knob (ug_cylinder)
window (ug_block)
Click OK.
Classes
Knowledge Fusion classes are the basic building blocks of Knowledge Fusion
programs. Classes are the blue prints of geometric objects such as blocks,
splines, and sketches. Classes provide operations that you can perform on
2 geometrical objects such as booleans, blends, and adding components to
assemblies. Classes can also be non-geometric such as mass properties. There
are also interface classes that allow Knowledge Fusion to carry out operations
such as connecting to external databases or spreadsheets.
A Knowledge Fusion class is a collection of rules that achieves a specific task.
The class can be instantiated using the Add Child Rule dialog box. To view
the contents of the class, you can select the class from the list in the dialog
box and then click Display Class Rules.
See Also: Automation®Knowledge Fusion ®Knowledge Fusion Help
and Best Practices®Programming elements®KF classes and methods
System classes
Basic classes provided by Knowledge Fusion are called system classes. You
can access these classes through the Add Child Rule dialog box. System class
names begin with “ug_” or “nx_”. It should be noted that the classes starting
with “ug_” are the traditional Knowledge Fusion System classes that were
manually written. Classes starting with “nx_” are automatically generated
through a common API.
User classes
While developing Knowledge Fusion applications, you can write your own
Knowledge Fusion classes that are a collection of System classes and/or other
user-defined classes. These classes are called User classes and are written in
the form of dfa files.
In the Name box, type ***_mug where *** are your initials.
Click OK.
Click OK twice.
Only those classes that begin with the letter m are displayed
in the class list. If necessary, clear the Filter by Folder check
box to see the correct display.
Click Apply.
Step 5: Edit the Mug boolean parameter to revise the design of the mug.
In the KF Navigator, right-click my_mug and choose Edit.
In the Rule for Parameter box, change the value from False;
to True;
Click OK.
In this activity, you will create an instance of an existing system class that is
provided with the Knowledge Fusion product. You will create your own user
2 class using the Knowledge Fusion Navigator.
Step 1: Create a new part.
Click New .
In the Name box, type ***_cylinder where *** are your initials.
Click OK.
Only the classes that begin with the letter u are displayed in
the class list. If necessary, clear the Filter by Folder check
box to see the correct display.
Click OK.
Click OK.
Step 4: Add a hole child rule using ug_simple_hole and input user defined
specifications.
Right-click root and choose Add Child Rule.
.
The Reference by Select option is also available when you
2 right-click in the background area of the KF Navigator.
In the graphics window, select the right planar face (1) of the
cylinder.
Click OK.
Click OK.
Click OK.
Click New .
In the Name box, type ***_test where *** are your initials.
Click OK.
Step 11: Add the Knowledge Fusion search path for my_dfa_file directory
that contains your user class.
Click DFA Manager.
Click OK twice.
Click OK.
Summary
In this lesson you:
• Added Attributes using the KF Navigator.
2
• Added Child Rules using the KF Navigator.
3 Design Control
Purpose 3
Control objects and the topology of your designs in Knowledge Fusion.
Objective
Upon completion of this lesson, you will be able to:
• Control topology by using rules to define the class.
When you select the Specify Rule for Class method, you can specify the
functional use for the class in the Rule for Class Name area of the dialog box.
3
For example, the conditional statement rule below uses either the ug_block
and ug_cylinder class depending on the value of the window? attribute.
if (window?:=square) then ug_block
else if (window?:=round) then ug_cylinder
else nulldesign;
Those inputs that are not parameters to a class are ignored. For
example, if the ug_cylinder class is used, the length and width
parameters will be ignored. Those inputs that are common but have
different meanings need to use if, then, else, such as the height and
origin parameters in the above example.
3. In the Rule for Class Name box, type a rule that returns a class name,
such as:
if (A:=1) then ug_point
3 else NullDesign;
5. Click OK.
In this activity, you will use the Specify Rule for Class method to control the
shape of the window for the door part.
Step 1: Open the part.
Open kf_door_2 and save it as ***_door_2 where *** represents
your initials.
Select the following check boxes. (Clear all other check boxes.)
Input Parameter
Modifiable
Evaluate It
Click OK.
Click OK twice.
Click Apply.
Click Apply.
Click OK.
Mass properties
You can control and examine mass properties using the ug_body class for a
single feature, or using the ug_mass_properties class for multiple features.
In this activity, you will examine the mass properties of the door solid using
the ug_body class.
Step 1: Open your door part.
Open ***_door_2 if it is not already open.
Click OK.
Step 4: Change the shape of the window and examine the mass of the
door solid.
In the KF Navigator, expand root Attributes.
Click OK.
3
In the Instance Inspector dialog box, right-click mass
(Number) and choose Show Value.
Compare the new mass value with the previous value.
Interactive Edits
You can create the same NX objects interactively or in Knowledge Fusion.
By default, the object information is synchronized. If you edit an object
interactively, such as a modeling feature parameter, that change is shown in
Knowledge Fusion. Likewise, if you edit an object in Knowledge Fusion, the
new information can be accessed interactively in NX.
You can control the impact of interactive edits when an object has a
corresponding Knowledge Fusion rule using the following Input Parameters.
3
onDelete? (Boolean)
When this parameter is TRUE, the instance can be deleted outside of KF.
When used, the onDelete? value is usually defined by a rule that evaluates to
True or False rather than a static value of False.
lockRuleParameters (List)
lockRule? (Boolean)
When this parameter is TRUE, the instance cannot be changed outside of KF
(i.e. Modeling) — except for objects not triggered by Modeling update (for
example, displayable objects such as color and layer).
For example, if a ug_block instance is locked with lockRule?, the size of
the block cannot be changed in Modeling by editing expressions or feature
parameters but it can be changed by KF rules or with Edit Child Rule.
lockObject? (Boolean)
When this parameter is TRUE, the instance cannot be changed by Knowledge
Fusion, even if a KF rule attempts to change a value. However, the instance
can be modified in the Modeling application.
The following two conditions apply for both lockObject? and lockRule?:
• If lockRule? and lockObject? are both TRUE, then the instance cannot be
changed in any way. Its parameter values are frozen everywhere.
• The rules that set the values for lockRule? and lockObject? can be
3
constant values of TRUE or FALSE, or they can be more complex logical
rules that return the value of TRUE or FALSE.
Click OK.
Click OK.
Step 4: Lock the door Attribute width and try to edit it in Modeling.
In the KF Navigator, right-click door and choose Edit.
Click OK.
Click OK.
Click Apply.
Click Apply.
Click Cancel.
Step 6: Lock the knob so that it can not be deleted outside of KF.
In the KF Navigator, right-click knob and choose Edit.
Click OK.
Choose Edit→Delete.
Click OK.
Expressions
In the NX Modeling application, expressions are the mechanism used to
establish parametric relationships. You edit features by modifying their
controlling expressions. You can create a single expression to control multiple
features. If you edit the expression, all of the dependent features update.
In Knowledge Fusion, you can create expressions using the ug_expression
class. The expressions available in Knowledge Fusion are the same
expressions available interactively in the Expression dialog box. This
is a powerful tool because it is easy to embed KF in your existing 3
expression-driven CAD design.
See Also: Automation®Knowledge Fusion ®Knowledge Fusion Help
and Best Practices®Programming elements®Expressions.
In this activity, you will use the ug_expression class to create expressions and
apply them to control the orientation and the length of a block.
Click New .
Click OK.
Click Apply.
Click Apply.
Click OK.
Click OK.
Choose Tools®Expression.
Click Apply. 3
In the Expressions dialog box, select length.
Click OK.
Click OK.
Click OK.
Summary
In this lesson you:
• Learned how to control topology by using rules to define the class.
4 Adoption
Purpose
Objective
Upon completion of this lesson, you will be able to: 4
• Adopt existing objects into the Knowledge Fusion application.
• A Partially adopted object does not have a DFA file defined. For example,
a boss feature can only be partially adopted since ug_boss.dfa does not
exist. A boss feature is adopted via ug_feature.dfa.
4. Click OK.
In this activity, you will interactively create a solid body consisting of several
features in the Modeling application. Then, you will adopt some of these
features and add rules to interrelate them.
You will compare how features that have supported KF classes with the
features that do not have supported classes.
The steps in this activity assume you can interactively create features
such as blocks, bosses, holes, and blends and are not as detailed.
Click New . 4
From the Units list, select Inches.
In the Name box, type ***_boss where *** are your initials.
Click OK.
Choose Start®Modeling.
Click OK.
Length (XC) = 2
Width (YC) = 2
Height (ZC) = 1
Select the top face of the block for the Placement Face.
Step 5: Create a simple hole and an edge blend on the top face of the boss.
Click Hole .
Select the top face of the boss for the Placement Face.
Select the top outside edge of the boss and use a radius of .125.
Step 7: Adopt the boss, hole, and blend features into Knowledge Fusion.
Start the Knowledge Fusion application.
In the Part Navigator, press the Ctrl key and select the Boss,
Simple Hole, and Edge Blend features.
Click OK.
Step 8: Compare the input parameters of the boss and hole features.
In the KF Navigator, expand the BOSS (ug_feature) child rule.
The control parameters for BOSS (ug_feature) are
expressions.
Click Cancel.
Click Cancel.
Step 9: Edit the parameter rule for the hole diameter and relate it to the
boss diameter.
Click OK.
Step 10: Edit the parameter rule for the blend radius and relate it to the
boss diameter.
Click OK.
Click OK.
In the Part Navigator, press the Ctrl key and select Edge
Blend(3) and Edge Blend(4).
Click OK.
Step 4: Modify the part so you can adopt additional edge geometry.
In the Part Navigator, clear the check boxes next to Edge
Blend(3), Edge Blend(4) and Shell(5).
From the list in the Select by Type dialog box, select Edge.
Click OK
Click OK.
Click Apply.
Click Apply.
Click OK.
Step 10: Change the collector for BLEND to reference the edge_list_1 rule.
In the KF Navigator, expand BLEND(ug_edge_blend) and
Helper Objects.
Click OK.
Step 11: Change the collector for BLEND_0 to reference the edge_list_2 rule.
In the KF Navigator, expand BLEND_0(ug_edge_blend) and
Helper Objects.
Click OK.
Click OK.
Summary
Purpose
Objective
Upon completion of this lesson, you will be able to:
• Export User Defined Features.
When you export a User Defined Feature, all relevant Knowledge Fusion rules
in the work part are saved with the UDF and thus become part of the UDF
definition. The Knowledge Fusion rules that are brought into the receiving
part when the UDF is instantiated also become available to the user.
UDF application
A UDF may be applied (instantiated) interactively two different ways:
• In Modeling, use Insert®Design Feature®User Defined Feature.
5
If the UDF contains Knowledge Fusion rules, it is automatically
adopted into Knowledge Fusion.
After you create a model that represents the UDF, you can use the User
Defined Feature Wizard to specify the UDF definition, features, expressions,
and references.
To access the wizard, choose File→Export→User Defined Feature or
choose Tools→User Defined Feature→Wizard.
In this activity, you will become familiar with creating knowledge enabled
user defined features.
Step 1: Open the part and change roles.
Open kf_boss_2.
Click Next.
Click Next.
Click Finish.
Click New .
In the Name box, type ***_boss_test where *** are your initials.
Click OK.
Click Cancel.
Click OK.
Click OK.
5 Change the Diameter from 1.5 to 1.
Click OK twice.
Click OK.
• Reference Geometry.
Reference Frames
Example
If you have a boss on the top face of a block and both the boss and the block in
the UDF definition, then you can position this UDF using the reference frame
5 input parameter to the ug_udfs class.
The resulting position and orientation of the UDF is a concatenation of the
reference frame and the WCS of the UDF. So if the WCS of the UDF was at
(1,2,3) and rotated 30 degrees about the Z axis and you specified a reference
frame at (1,2,3) with a Z rotation of 30 degrees, the final position of the block
(if it was created at the WCS origin) would be (2,4,6) and rotated 60 degrees.
3. At UDF creation time, select all the features you want in the UDF,
excluding the parent geometry.
Reference geometry
If the positioning geometry is not part of the UDF definition, you can use
reference geometry to position your UDF. This method requires resolving
geometric references before the UDF can be instantiated. Positioning of the
UDF is normally, or often exclusively, dependent on the pre-existing geometry
in the reference list. (Assuming the reference geometry is being used for
positioning.)
This is the conventional way to position a UDF. One of the advantages of
using this method is that the same process is used for positioning the UDF
interactively in modeling, programmatically in a dfa file, or when adding a
child rule in the Knowledge Fusion Navigator.
See Also: Design®Modeling®Methods in Feature Modeling
®Positioning Methods
3. At UDF creation time, select all the features you want in the UDF,
excluding the parent geometry.
In this activity, you will create a boss UDF that can be positioned using
reference geometry. You will add this UDF to a part using the traditional
modeling method, then you will add it to the part again using the KF method.
Open kf_boss_2.
Make sure you are using one of the roles with full
menus.
Click Next.
From the Features In Part list, select Boss, Simple Hole and
Edge Blend.
Click Next.
Click Next.
Click Finish.
Click New .
Click OK.
Select the right face of the block as the planar placement face.
Click OK.
Type 2.0.
Click OK.
Click Perpendicular .
Type 2.0.
Click OK. 5
Click Cancel.
Type “boss2”;.
In the graphics window, select the front left face of the block.
5
Click OK.
Click OK.
Type 2.0.
Click OK. 5
Click Perpendicular .
Type 2.0.
Click OK.
Click Cancel.
Input Parameters
The UDF parameters are identified by a list attribute called
input_parameters. It contains all the parameters that need to be added to
the custom dialog. The order of the list is the order in which the parameters
are presented in the dialog.
The parameter label for each NX dialog widget is specified by a string
attribute, the name of which is the name of the parameter with the extension
_label. For example, if there is a parameter named Integer:, the label is
defined by an attribute named Integer_label:
Output Parameters
Elements in the input_parameters list that are of string type or are references
to string attributes become output parameters in the UDF dialog. In the
example below, the volume entry in the input_parameters list would be an
output parameter since it is an attribute of type string. Notice that length,
width, and height in the input_parameters list are names, and so these
become input parameters in the UDF custom dialog.
5 (list) input_parameters: {Volume:, length, width, height};
(string) Volume: "The block volume is: " + format("%g",
length:*width:*height:);
(number modifiable) length: 1.3;
(string) length_label: "Block Length";
(number modifiable) width: 2.4;
(string) width_label: "Block Width";
(number modifiable) height: 3.5;
(string) height_label: "Block Height";
In this activity, you will create a custom dialog for a boss UDF.
Step 1: Create a new part.
Click New .
In the Name box, type ***_boss3 where *** are your initials.
Click OK.
Choose Insert®Datum/Point®Point .
Click OK.
Select the top face as the Placement Face and type the following
values:
Diameter = 1.0
Height = 1.0
Taper Angle = 0
Step 5: Create a simple hole and an edge blend centered on the top face
of the Boss.
Create a simple Hole on the top face of the boss and type
the following values:
Diameter = 0.5
Depth = 1.0
Taper Angle = 0.0
Step 6: Adopt all of the features except the block into Knowledge Fusion.
Start the Knowledge Fusion application.
Click OK.
Click OK.
Click Apply.
Click Apply.
Click Apply.
Click Apply.
Click OK.
Click OK.
Click OK. 5
Save the part.
Click Next.
From the Features In Part list, select Boss, Simple Hole and
Edge Blend.
Click Finish.
Click New .
Click OK.
Click boss3.
The boss3 UDF dialog box now includes the custom
input parameters you defined earlier.
Boss Diameter 1.0000
Boss Position
Click Apply.
Repeat the actions above using the left face and left point to
create a second boss.
Step 1: Open udf_1 and save the part as ***_udf_1 where *** represents
your initials.
Click Next.
From the Features In Part list, select all of the features except
Block(0).
Click Next.
Click Finish.
Step 3: Open udf_2 and save the part as ***_udf_2, where *** represents
your initials.
Click Next.
From the Features In Part list, select all of the features except
Block(0).
Click Next.
Click Finish.
Click New .
In the Name box, type ***_base where *** are your initials.
Click OK.
Click udf1.
Click OK.
Click Cancel.
Click OK.
Click OK.
Summary
In this lesson you:
• Learned how to export User Defined Features.
6 Assemblies
Purpose
Objective
Knowledge Fusion allows you to create an assembly and control the structure
and components with rules. The following sections describe some strategies
on how to approach the construction of assemblies along with the specific
capabilities that NX introduces that enable these strategies to be realized.
It is important to understand that each NX part file has an associated
Knowledge Fusion world bound to it. The Knowledge Fusion world maintains
the rules and relationships that binds the rules to NX objects. When you
enter the Knowledge Fusion Navigator you see the Knowledge Fusion world,
its rules and attributes, for the work part only. With respect to assembly
modeling, there does not exist a single Knowledge Fusion world with rules
that cross part boundaries. For example, you cannot create a rule whose
evaluation resides in another part. However, the same effect is possible with a
messaging scheme that allows the Knowledge Fusion worlds to communicate
with each other.
This messaging scheme is necessary in order for NX to build assemblies
whose structure and content can be controlled by Knowledge Fusion rules.
The scheme enables the creation of rules and access to attributes in parts
identified by name.
By using the class ug_child_in_part, you can execute a child rule in another
6 part. It also supplies the means by which part files can communicate with
each other. Messages will be sent to another part in order to create a rule or
edit that rule if it already exists. The part must already be loaded or locatable
using current load options.
In this activity, you will create a simple chassis assembly as shown below
using Knowledge Fusion.
6
Step 1: Create four new parts.
Create four new parts. Create the parts in your student home
folder in the order listed below:
Click OK.
Although you were working in the chassis_assm part, you
actually instantiated a cylinder in the wheel part by using
6 the ug_child_in_part class.
Choose Window→wheel.
Choose Window→chassis_assm.
Click Apply.
Click Apply.
Click Apply.
Click OK.
Click Apply.
Click OK.
Click New .
Click OK.
Step 2: Add the existing faucet base from the KF Navigator using KF rules.
In the KF Navigator, right-click root and choose Add Child
Rule.
Click OK.
6 Step 3: Add the “A” version of the existing faucet spout using KF rules.
Right-click base (ug_component) and choose Copy Rule.
An easy way to create similar children is to use the Copy
Rule option.
Click OK.
You will now have two children in the KF Navigator. Since
they both still point to faucet_base part, you will see two
occurrences of the base in the graphics window. However, you
will edit the copied rule and point it to the faucet_spout_A
part.
Click OK.
Choose Start→Assemblies.
Click Preview.
Click Unpreview.
Click Preview.
Click OK twice.
Step 5: Add the existing faucet cap using the Copy Rule option.
Right-click base (ug_component) and choose Copy Rule.
Click OK.
Click OK.
Click Mate .
6
Click OK twice
Step 7: Create a new faucet handle sub-assembly and then add it to the
faucet assembly using Knowledge Fusion rules.
Instead of creating a part interactively, you can use an
attribute with a function to create the new faucet handle
sub-assembly. You can use this function to create parts when
writing a program.
Click OK.
Click OK twice.
In the Add Attributes dialog box, review the Formula and click
OK.
Click Cancel.
Step 8: Add the existing faucet handle to the newly created faucet handle
sub-assembly.
Right-click root and choose Add Child Rule.
6 Click OK twice.
The faucet handle is a component in
faucet_handle_sub_assembly. You can not see it
in your graphics window because you have not yet added
the sub-assembly to the faucet assembly. The MATE
reference set is used so that extra geometry is available
when you mate the handle to the cap.
Step 9: Add the faucet handle sub-assembly to the faucet assembly using
KF rules.
Right-click root and choose Add Child Rule.
Click OK.
Click OK.
6 Click Align .
Select the datum axis at the bottom of the handle as the From
component.
Click Align .
Select the datum plane near the cap that is parallel to YC-ZC
as the To component.
Click Angle .
Select the datum plane near the cap that is parallel to XC-YC
as the To component.
Click OK twice.
You will need to edit the Parameters (List) rule and change
the appropriate value since the handle is a ug_child_in_part
class.
Click OK.
Click OK.
Step 13: Change the spout from version “A” to version “B”.
Right-click spout (ug_component) and choose Edit.
Click OK.
Summary
In this lesson you:
• Created a chassis assembly using Knowledge Fusion.
7 Optimization
Purpose
Objective
Upon completion of this lesson, you will be able to:
• Apply the ug_optimize class in Knowledge Fusion to optimize the volume
of a solid body.
Optimization concepts
Optimization is an automatic method of improving your product based
on engineering constraints. It’s an iterative method to find the best
configuration possible by varying parameters to meet a particular objective
without violating constraints. NX uses a third party optimizer from Altair
Engineering called HyperOpt.
During the optimization process, the system attempts to drive the output of
the model toward a given goal by iterating the values of one or more Design
Variables and avoiding violation of given constraints.
An optimization problem consists of the following attributes:
• Objective: This describes what you’re trying to achieve. The objective
consists of the Objective Rule to be measured at each iteration and the
type of goal to be reached. The objective rule is a KF reference chain
to a number attribute. You may choose to Minimize the objective rule,
Maximize the objective rule, or drive the object rule toward a target value.
• Constraints: This describes other limits of the model other than design
7 variable limits. You can specify zero or more constraints. At each
iteration, the optimizer compares the value of each constraint attribute
against its limit. If a constraint value falls outside of its limit, the model
is considered to be in an invalid state. The optimizer backs up to a valid
state and tries different values for the design variables. Each constraint
consists of a reference chain to a number attribute, the type of constraint
(minimum or maximum), and the limit value.
• Convergence Criteria: This tells the optimizer how accurate the solution
needs to be. It consists of three numbers that the optimizer uses to
determine if it is done improving the model.
– Relative: If one minus the ratio of the last 2 objective values is less
than this value, the solution is converged. A smaller value here most
likely increases the number of iterations required.
How it works
4. If not converged, the optimizer returns new Design Variable values for
next iteration.
Example
An example using the ug_optimize class is shown below:
(child) my_opt: {
class; ug_optimize;
objective; { SOLID_RIGHT:mass:, TARGET, weight: };
design_variables; { { pocket_depth:, Value,2.0,20.0 }, ... };
constraints; { { SOLID_RIGHT:volume:, Lower, 5000.0 }, ... };
optimizer_controls; { 0.05, 0.005, 0.025, 20 };
view_graph; false;
};
In this activity, you will adopt the geometry of a squeeze bottle into
Knowledge Fusion. Then you will use the ug_optimize class to optimize its
volume to a target value.
In the Part Navigator, press the Ctrl key and select the
Cylinder and the Boss features.
Click OK.
In the graphics window, select the top face (make sure you
select the top face of the outer solid) and bottom face of the
bottle.
Select the interior solid body contained within the dashed line
shown below.
Click OK.
Click OK.
Click OK.
Click OK.
In the Rule for Parameter box, change the Target value from
60.0 to 120.0.
In the Rule for Parameter box, change the rule from true to
false.
Click OK.
7
Step 6: Run the optimization for the new target value.
In the KF Navigator, expand bottle_opt.
Summary
In this lesson you:
• Applied the ug_optimize class in Knowledge Fusion to optimize the
volume of a solid.
A edit . . . . . . . . . . . . . . . . . . . . . . 2-29
Class . . . . . . . . . . . . . . . . . . . 2-12, 2-36
Activity
filter . . . . . . . . . . . . . . . . . . . . . . 2-25
Add and edit child rules . . . . . . . 2-30
system classes . . . . . . . . . . . . . . 2-36
Add Attributes . . . . . . . . . . . . . . 2-23
user classes . . . . . . . . . . . . . . . . 2-36
Adopt blends . . . . . . . . . . . . . . . 4-11
Color . . . . . . . . . . . . . . . . . . . . . . . . 3-8
Adopt existing objects . . . . . . . . . . 4-5
Copy Rule . . . . . . . . . . . . . . . . . . . 2-28
Create a knowledge enabled
Customize
UDF . . . . . . . . . . . . . . . . . . . . 5-4
UDF dialog box . . . . . . . . . . . . . . 5-19
Customize UDF dialog box . . . . . 5-21
Interactive edits . . . . . . . . . . . . . 3-14
Knowledge Fusion Navigator D
tour . . . . . . . . . . . . . . . . . . . . 2-13 DFA files . . . . . . . . . . . . . . . . . . . . 1-12
Mass properties . . . . . . . . . . . . . 3-10 syntax check . . . . . . . . . . . . . . . . 1-16
Optimize volume . . . . . . . . . . . . . 7-5 DFA Manager . . . . . . . . . . . . . . . . 1-16
Position a UDF . . . . . . . . . . . . . . 5-12 Check DFA syntax . . . . . . . . . . . 1-16
Remote controlled airplane . . . . . 1-18 search directories . . . . . . . . . . . . 1-16
Specify Rule for Class . . . . . . . . . . 3-5
Swap User Defined Features . . . . 5-30 E
System class . . . . . . . . . . . . . . . . 2-40
User class . . . . . . . . . . . . . . . . . . 2-37 Edit
Add Attributes . . . . . . . . . . . . . . . . 2-18 Child Rule . . . . . . . . . . . . . . . . . 2-29
dialog box . . . . . . . . . . . . . . . . . . 2-19 interactive . . . . . . . . . . . . . . . . . 3-12
Add Child Rule . . . . . . . . . . . . . . . 2-25 Expressions . . . . . . . . . . . . . . . . . . 3-17
dialog box . . . . . . . . . . . . . . . . . . 2-25
Specify Rule for Class . . . . . . . . . . 3-3 H
Adopt Existing Object . . . . . . . . . . . 4-3
Help Library . . . . . . . . . . . . . . . . . . 10
procedure . . . . . . . . . . . . . . . . . . . 4-4
Adoption . . . . . . . . . . . . . . . . . . . . . 4-2
Assemblies . . . . . . . . . . . . . . . . . . . 6-2 I
Attributes Inspect Instance . . . . . . . . . . . . . . . 2-7
data types . . . . . . . . . . . . . . . . . 2-21
editing . . . . . . . . . . . . . . . . . . . . 2-22 K
KBE . . . . . . . . . . . . . . . . . . . . . . . . 1-2
C
See also Knowledge Based
Child List Rule . . . . . . . . . . . . . . . 2-27 Engineering
Child Rule . . . . . . . . . . . . . . . . . . . 2-25 KF . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8
copy . . . . . . . . . . . . . . . . . . . . . . 2-28 See also Knowledge Fusion
Competitive advantage
Siemens Learning Advantage courses present consistent methods and concepts approved by
Siemens. Our course development teams work closely with Product Development to ensure that
prescribed processes reflect the intended product usage and industry best practices. No other
training provider can make this claim! And because our learning products are coordinated with
Siemens product releases, you can be confident that training will be delivered in time for your
upgrade.
Benefits Include:
• Simple user interface requiring only a standard internet browser.
• On-demand internet access to self-paced courses and assessments.
• Extensive self-paced library supporting a broad range of Siemens products and versions.
• Online learning management system for tracking and reporting training progress.
• Memberships renew on an annual basis and provide uninterrupted access to courses.
Learn more about Siemens Learning Advantage by visiting our website or contact your Siemens
PLM Software sales representative for purchase information.
Rev-9/3/08-jab
This page left blank intentionally.
Rev-9/3/08-jab
PLM Software
www.siemens.com/plm
STUDENT PROFILE
In order to stay in tune with our customers we ask for some background information. This information
will be kept confidential and will not be shared with anyone outside of Education Services.
Please Print…
Your Name U.S. citizen Yes No
Please verify/add to this list of training for NX, I-deas, Imageware, Teamcenter Mfg., Teamcenter Engineering, Teamcenter Enterprise, Tecnomatix or
Dimensional Mgmt./Visualization. Medium means Instructor-lead (IL), On-line (OL), or Self-paced (SP)
Software From Whom When Course Name Medium
Thank you for your participation. We hope your training experience will be an outstanding one.
Rev-9/3/08-jab
This page left blank intentionally.
Rev-9/3/08-jab
Course Agenda
Knowledge Fusion for Designers
Day 1 Morning
• Welcome & Course Overview
• Lesson 1. Introduction
• Lesson 2. Knowledge Fusion Navigator (begin)
Afternoon
• Lesson 2. Knowledge Fusion Navigator (continued)
• Lesson 3. Design Control
Day 2 Morning
• Lesson 4. Adoption
• Lesson 5. User Defined Features
Afternoon
• Lesson 6. Assemblies
• Lesson 7. Optimization
• Question and Answer
Rev-9/3/08-jab
This page left blank intentionally.
Rev-9/3/08-jab
Accelerators
The following Accelerators can be listed from within an NX session by choosing
Information→Custom Menubar→Accelerators.
Function Accelerator
File→New... Ctrl+N
File→Open... Ctrl+O
File→Save Ctrl+S
File→Save As... Ctrl+Shift+A
File→Plot... Ctrl+P
File→Execute→Grip... Ctrl+G
File→Execute→Debug Grip... Ctrl+Shift+G
File→Execute→NX Open... Ctrl+U
Edit→Undo Ctrl+Z
Edit→Redo Ctrl+Y
Edit→Cut Ctrl+X
Edit→Copy Ctrl+C
Edit→Paste Ctrl+V
Edit→Delete... Ctrl+D or Delete
Edit→Selection→Top Selection Priority - Feature F
Edit→Selection→Top Selection Priority - Face G
Edit→Selection→Top Selection Priority - Body B
Edit→Selection→Top Selection Priority - Edge E
Edit→Selection→Top Selection Priority - Component C
Edit→Selection-Select All Ctrl+A
Edit→Show and Hide→Show and Hide... (by type) Ctrl+W
Edit→Show and Hide→Hide... Ctrl+B
Edit→Show and Hide→Invert Shown and Hidden Ctrl+Shift+B
Edit→Show and Hide→Immediate Hide… Ctrl+Shift+I
Edit→Show and Hide→Show... Ctrl+Shift+K
Edit→Show and Hide→Show All Ctrl+Shift+U
Edit→Transform... Ctrl+T
Edit→Move Object Ctrl+Shift+M
Edit→Object Display... Ctrl+J
View→Operation→Zoom... Ctrl+Shift+Z
View→Operation→Rotate... Ctrl+R
View→Operation→Section... Ctrl+H
View→Layout→New... Ctrl+Shift+N
View→Layout→Open... Ctrl+Shift+O
View→Layout→Fit All Views (only with multiple views) Ctrl+Shift+F
View→Layout→Fit Ctrl+F
View→Visualization→High Quality Image... Ctrl+Shift+H
View→Information Window F4
Hide or show the current dialog box F3
Rev-9/3/08-jab
View→Reset Orientation Ctrl+F8
Insert→Sketch... S
Insert→Design Feature→Extrude... X
Insert→Design Feature→Revolve... R
Insert→Trim→Trimmed Sheet... T
Insert→Sweep→Variational Sweep... V
Format→Layer Settings... Ctrl+L
Format→Visible in View... Ctrl+Shift+V
Format→WCS→Display W
Tools→Expression... Ctrl+E
Tools→Update→Make First Feature Current Ctrl+Shift+Home
Tools→Update→Make Previous Feature Current Ctrl+Shift+Left Arrow
Tools→Update→Make Next Feature Current Ctrl+Shift+Right Arrow
Tools→Update→Make Last Feature Current Ctrl+Shift+End
Tools→Journal→Play... Alt+F8
Tools→Journal→Edit Alt+F11
Tools→Macro→Start Record... Ctrl+Shift+R
Tools→Macro→Playback... Ctrl+Shift+P
Tools→Macro→Step... Ctrl+Shift+S
Tools→Movie→Record Alt+F5
Tools→Movie→Stop Alt+F7
Information→Object... Ctrl+I
Analysis→Curve→Refresh Curvature Graphs Ctrl+Shift+C
Preferences→Object... Ctrl+Shift+J
Preferences→Selection... Ctrl+Shift+T
Start→Modeling... M or Ctrl+M
Start→All Applications→Shape Studio... Ctrl+Alt+S
Start→Drafting... Ctrl+Shift+D
Start→Manufacturing... Ctrl+Alt+M
Start→NX Sheet Metal... Ctrl+Alt+N
Start→Assemblies A
Help→On Context... F1
Refresh F5
Fit Ctrl+F
Zoom F6
Rotate F7
Orient View-Trimetric Home
Orient View-Isometric End
Orient View-Top Ctrl+Alt+T
Orient View-Front Ctrl+Alt+F
Orient View-Right Ctrl+Alt+R
Orient View-Left Ctrl+Alt+L
Snap View F8
Rev-9/3/08-jab
PLM Software
Evaluation – Delivery
Name: _______________________________ Course #: TR15130
Start Date: ____________ Through: __________
Please share your opinion in all of the following sections with a “check” in the appropriate box:
Instructor: 5
SOMEWHAT
SOMEWHAT
STRONGLY
STRONGLY
DISAGREE
DISAGREE
DISAGREE
If there were 2 instructors, please evaluate the 2nd instructor with “X’s”
AGREE
AGREE
AGREE
Instructor: 7
Class Logistics:
1. The training facilities were comfortable, clean, and provided a good learning
environment
2. The computer equipment was reliable
3. The software performed properly
4. The overhead projection unit was clear and working properly
5. The registration and confirmation process was efficient
Hotels: (We try to leverage this information to better accommodate our customers)
1. Name of the hotel Best hotel I’ve stayed at
2. Was this hotel recommended during your registration process? YES NO
3. Problem? (brief description)
SEE BACK
Rev-9/3/08-jab
PLM Software
Evaluation - Courseware
Name: _______________________________ Course #: TR15130
Dates: ____________ Through: __________
Please share your opinion for all of the following sections with a “check” in the appropriate box:
SOMEWHAT
SOMEWHAT
STRONGLY
STRONGLY
DISAGREE
DISAGREE
DISAGREE
AGREE
AGREE
AGREE
Material:
1. The training material supported the course and lesson objectives
2. The training material contained all topics needed to complete the projects
3. The training material provided clear and descriptive directions
4. The training material was easy to read and understand
5. The course flowed in a logical and meaningful manner
6. How appropriate was the length of the course relative to the material? Too short Too long Just right
Student:
1. I met the prerequisites for the class (I had the skills I needed)
2. My objectives were consistent with the course objectives
3. I will be able to use the skills I have learned on my job
4. My expectations for this course were met
5. I am confident that with practice I will become proficient
Please “check” this box if you would like your comments featured in our training publications.
(Your name is required at the bottom of this form)
Please “check” this box if you would like to receive more information on our other courses and services.
(Your name is required at the bottom of this form)
Thank you for your business. We hope to continue to provide your training and
personal development for the future.
Rev-9/3/08-jab