企業管理 > Windchill 匯出與匯入 > 《PTC Windchill PLM Connector - Creo Packages 管理員及使用者指南》 > Creo Packages > Exporting Packages Using the Recipe Language > Recipe File Examples > recipe.rcp.template
  
recipe.rcp.template
The /samples directory is created as part of the client installation and is located at <WPC_Client_Install_dir>/samples. The /samples directory contains the mapping and recipe folders. This template is found at <WPC_Client_Install_dir>/samples/recipe/recipe.rcp.template.
The following recipe template can be used for the current version of Creo Packages:
# This is a template for a recipe file for PTC Windchill 10.2
# PLM Connector - Creo Packages.
# This template contains all the key words and usage.
#
# USAGE ===
#
# Seed section has following seed keywords name, baseline, folder
#
# 1. One or many entries of key are allowed with a value.
# 2. Values can be muliple values with comma seperation.
# 3. each key word has modifiers.
#
# name has following modifiers
# -revision
# -iteration
# -state
#
# baseline has following modifiers
# -number (Windchill number of the baseline to identify in case
# multiple baselines with the same name exist)
#
# folder has following modifers
# -sub (sub folders as seeds)
#
#
# Collector section has following key words
# dependencies, drawings
#
# 1. Each key word will take a unique value.
# 2. Only one entry of these is permitted.
#
# Dependencies take following mutually exclusive values
# 1. none
# 2. required
# 3. all
# Drawing take following mutually exclusive rules
# 1. none
# 2. selected
# 3. all
#
#
#
# Configuration section has following key words rules
# You can have one rule for the recipe file
#
# Following are valid rules for Windchill
# latest, asstored, baseline
#
# Exclude and Remove sections are used to create a delta package
# Key word used for this section is baseline
# The value of the baseline in this section can take a
# wild card character * to indicate the pattern of baseline name.
#
#
# TEMPLATE ===
#
#seed
# name 00_d21m-62-1100.asm
# name 00_d21m-62-1100.asm -revision A
# name 00_d21m-62-1100.asm -revision A -iteration 2
# name 00_d21m-62-1100.asm -state "In Work"
#
# baseline "wcadmin_1185790328231"
# baseline "wcadmin_1185790328231" -number 46739
#
# folder "/Demo Organization/Product/GOLF_CART//Golf-1/sub-fold01"
# folder "/Demo Organization/Library/Switches//X-234-567/XA-2651"
# folder "/Demo Organization/Product/GOLF_CART//"
# folder "/Demo Organization//fold02"
# folder "//xyz/abc"
# folder "//"
# folder "/Demo Organization/Product/GOLF_CART//Golf-2" -sub -state "In Work"
#
# folder "/Demo Organization/Product/GOLF_CART/Cabinet:System//Golf-2/sub-fold01"
# folder "/Demo Organization/Library/Switches/Cabinet:System//Z-234-567/XA-2651"
# folder "/Demo Organization/Product/GOLF_CART/Cabinet:System//"
# folder "/Demo Organization/Cabinet:System//fold01"
# folder "/Cabinet:System//zzyz/abc"
# folder "/Cabinet:System//"
# folder "/Demo Organization/Product/GOLF_CART/Cabinet:System//Golf-3" -sub -state "In Work"
#
#collector
# dependencies
# none
# required
# all
# drawings
# none
# selected
# all
#configuration
# rules
# latest
# latest -state "In Work"
# asstored
# baseline "wcadmin_1185790328231"
# baseline "wcadmin_1185790328231" -number 46739
#
#exclude
# baseline "WPC_export_wcadmin_1185790328231"
# baseline "WPC_export_wcadmin_1185790328231" -number 726773
# baseline "WPC_export_wcadmin_*"
# baseline "WPC_export_wcadmin_*" -number 726773
# baseline "WPC_export_wcadmin_11857903282?1"
# baseline "WPC_export_wcadmin_11857903282?1" -number 726773
#remove
# baseline "WPC_export_wcadmin_1185790328231"
# baseline "WPC_export_wcadmin_1185790328231" -number 726773
# baseline "WPC_export_wcadmin_*"
# baseline "WPC_export_wcadmin_*" -number 726773
# baseline "WPC_export_wcadmin_11857903282?1"
# baseline "WPC_export_wcadmin_11857903282?1" -number 726773
#