Creo ModelCHECK > RuleCHECK > Esempio: utilizzo di RuleCHECK
  
Esempio: utilizzo di RuleCHECK
Il seguente esempio mostra come un utente può utilizzare RuleCHECK per progettare il guscio di un recipiente sotto pressione.
Il file shell.rule contiene le regole seguenti:
Lunghezza - Soft
Diametro - Soft
Spessore - Hard
Il file sarà:
# 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
#
Nel report RuleCHECK corrispondente sono indicati i nomi delle regole libere e fisse. Selezionate un nome per visualizzare la descrizione e lo stato della regola se si tratta di una regola fissa. Lo stato può essere modificato.