Creo ModelCHECK > RuleCHECK > 範例:使用 RuleCHECK
  
範例:使用 RuleCHECK
下列範例顯示 RuleCHECK 如何幫助您設計壓力容器的殼單元。
檔案 shell.rule 包含下列規則:
長度 - 柔性
直徑 - 柔性
厚度 - 硬性
檔案如下:
# PTC Inc. RuleCHECK Rule File
#
# Note: The name of this file should be the same as the model
# type that the rules apply to with the suffix '.rule'
#
# Lines in this file which begin with '#' are considered
# comments. The format of the rules in this file is:
#
#
# (Hard or Soft)
#
#
# EndOfRule
#
# The 'EndOfRule' indicates the end of the description, and
# description lines should be no more than 80 characters long
#
Length
Soft
1.00
RANGE: 72" to 360" (modify in skeleton part).
Should use 12" increments to avoid extra offcuts.
Set Skeleton parameter "SHELL_LENGTH" to desired value.
EndOfRule
#
Diameter
Soft
1.00
RANGE: 48" to 166"
Must be in 3" increments, limited by manufacturing equipment.
Set Skeleton parameter "OD" to desired value.
EndOfRule
#
#Name of Rule#
Thickness
#Type of Rule (Hard/Soft)#
Hard
#Value (default value to be shown)#
1.00
#Design Guidelines which should be followed (this is displayed for this rule)#
RANGE: 1/2" to 2"
MINIMUM THICKNESS = P*R/(S*E-0.6*P)
NomThk = 1/8" + MINIMUM THICKNESS(or 1/2" MIN).
Modify Dimension "SHELL_THK" in the shell part to the desired value.
#Indicates end of this rule definition #
EndOfRule
#
對應的 RuleCHECK 報告會顯示軟性和硬性規則的名稱。若為硬規則,選取名稱來查看它的描述和狀態。您可以編輯狀態。