การกำหนด minimum and maximum pipe length

 
ยินดีต้อนรับคุณ, บุคคลทั่วไป กรุณา เข้าสู่ระบบ หรือ ลงทะเบียน
กันยายน 06, 2010, 04:08:53 PM
422 กระทู้ ใน 379 หัวข้อ โดย 19 สมาชิก
สมาชิกล่าสุด: EN_KOB
Webboard - Thai AutoPLANT  |  Thai AutoPLANT - General  |  Plant Design Workgroup  |  การกำหนด minimum and maximum pipe length « หน้าที่แล้ว ต่อไป »
หน้า: [1]
ผู้เขียน หัวข้อ: การกำหนด minimum and maximum pipe length  (อ่าน 804 ครั้ง)
MMe
Newbie
*
กระทู้: 6


« เมื่อ: ธันวาคม 24, 2009, 11:49:10 AM »

เรา สามารถ กำหนด ค่า min/max ของ pipe ได้...เช่น ค่า min น้อยกว่า 50  หรือ 6เท่าความหนาท่อ ค่า max ห้ามเกิน 6000 MM ถ้าน้อยกว่า/มากกว่าก็เขียนไม่ได้  แก้ที่
C:\Program Files\Bentley\Plant XM\Modules\Base\piping\draw\pipe.ebs

ไปที่ line 104   --> Dim CompLen     As Double
เพิ่ม  ค่า
Dim pipeID      As Double            '// Pipe Inside Diameter 
Dim LenLimit    As Double            '// Lenght limit

ไปที่ line ---> CompLen = at_Point_distance(point(0),point(1))

เพิ่ม  ค่า

LenLimit = 6000

   If (CompLen < ((pipeOD-pipeID) * 3)) Or (CompLen < 50.0) Or (CompLen > LenLimit) Then
    Msgbox"Pipe Length Must Be a Minimum of 50 mm or 6 times Wall Thickness And Maximum lenght 6000 MM"




บันทึกการเข้า
หน้า: [1]
Webboard - Thai AutoPLANT  |  Thai AutoPLANT - General  |  Plant Design Workgroup  |  การกำหนด minimum and maximum pipe length « หน้าที่แล้ว ต่อไป »
    กระโดดไป:  


    Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC | Thai language by ThaiSMF
     


    © COPYRIGHT 2007 - 2009 ETC SERVICE CO., LTD. ALL RIGHTS RESERVED.
    LEGAL NOTICES & TRADEMARKS - REPORT PIRACY
    COMMENT OR FEEDBACK
    webmaster@thaiautoplant.com

    ETC Service Co., Ltd. Engineering Technology Consultant and Service
    69 Mitthawon Building Soi Sanphawut 2 (Approach Bangna Tollgate)
    Sanphawut Rd., Bangna, Bangna, Bangkok 10260 Thailand.
    Tel. +66 0-2744-9551, Fax +66 0-2744-7882