Integration with Other Applications > Windchill Workgroup Manager Documentation > ECAD > Advanced Techniques > Using Hooks > Types of Hooks
  
Types of Hooks
The types of available hooks are as follows:
1. Pre Update
— The Pre Update action launches an external script before any ECAD actions are launched.
2. Create List of Design Files
— The Create List of Design Files is a list of paths for all files that are part of the design data which will be archived. Each line in the output file represents an individual path.
3. Create Viewable
— The Create Viewable action creates a viewable file name based on the design item.
4. Create BOM
— The Create BOM action creates or modifies a generic BOM file.
5. Create Variant BOMs
— The Create Variant BOM action creates or modifies a variant BOM file.
6. Create List of Attachments
— The Create List of Attachments action creates a list of all files that will be attached to the updated document.
7. Retrieve Attributes from Design
— The Retrieve Attributes from Design action creates type-name-value triplets for attributes that are published to the updated EPM document when you do a Save to Workspace.
8. Validate Design
— The Validate Design action checks if the given design directory is valid. The validation can be done either by the built-in implementation or by an external program.
9. Get Design Directory
— The Get Design Directory action checks if there is a subdirectory that contains board related files under the schematic design directory.
10. Get Design Item List
— Get Design Item List action collects a list of files that are considered design items that are located in the design directory.
11. Get List of Neutral Format Items
— Get List of Neutral Format Items action collects a list of neutral format files names that are located in the design directory.
In general, each hook type corresponds to an action that can occur when the user updates or checks inECAD design data. (Some of the update/check in options are made up of several of these actions. For example, when the user opts to Collect Design Information, this action is actually a compound action consisting of Validate Design, Get Design Directory, Get Design Item List, and Get List of Neutral Format Items.)
Operations
#
Deliverables
Hookable Actions
Get/Verify Design characteristic
1
Validate Design
2
Get Design Directory
3
Get Design Item List
4
Get List of Neutral Format Items
ECAD Check In
1
Validate Design
2
Pre Update
3
Create List of Design Files (packaging)
4
Viewable
Create Viewable
5
Attachments
Create List of Attachments
6
BOM
Create BOM
7
Retrieve variants from design
Create Variant BOMs
8
Attributes
Retrieve Attributes from Design
9
Derived Objects
Create List of Attachments for each derived object