Knowledge Advisor

Jan 19, 2009 - if ( Bulb_Height / Bulb_Diameter ) > 1.7. {. Glass_Bulb\Radius_Bulb = Bulb_Height / (2*1.7). Bulb_Ratio = 1.7. Message ("The Ratio has ...
32KB taille 5 téléchargements 356 vues
CATIA Training

Knowledge Advisor Detailed Steps

COPYRIGHT DASSAULT SYSTEMES

Version 5 Release 19 January 2009 EDU_CAT_EN_KWA_FS_V5R19

Knowledge Advisor

Detailed Steps

This document contains code for ‘Bulb’ and ‘Wheel Rim’ exercise: if ( Bulb_Height / Bulb_Diameter ) > 1.7 { Glass_Bulb\Radius_Bulb = Bulb_Height / (2*1.7) Bulb_Ratio = 1.7 Message ("The Ratio has reached its upper limit of 1.7. | Bulb diameter has been modified accordingly.| Bulb diameter is driven by ratio of 1.7 of the Bulb_Height") } else if (Bulb_Height / Bulb_Diameter) < 1.125 { Glass_Bulb\Radius_Bulb = Bulb_Height / (2*1.125) Bulb_Ratio = 1.125 Message("The Ratio has reached its lower limit of 1.125.| Bulb diameter has been modified accordingly.| Bulb diameter is driven by ratio of 1.125 of the Bulb_Height.") } else { Glass_Bulb\Radius_Bulb = Bulb_Diameter / 2 Bulb_Ratio = Glass_Bulb\Glass_Height / (2 * Glass_Bulb\Radius_Bulb) } Filament_Support\WireSupport_Height = Glass_Bulb\Glass_Height - Glass_Bulb\Radius_Bulb

COPYRIGHT DASSAULT SYSTEMES

2

Knowledge Advisor

Detailed Steps

let Closer = 0 mm let Locate=0 let Cell_Value=0mm if (Rim_Size13in and Rim_Size15in and Rim_Size16in and Rim_Size17in and Rim_Size18in and Rim_Size>13in and Rim_Size