• このフォーラムは、www.cad3d.it/forum1 - イタリアのデザインコミュニティの機械翻訳です。いくつかの用語は正しく翻訳されていません。

ilogic - サイクル if/then/else

  • Thread starter Thread starter Ing.filippo
  • Start date Start date

Ing.filippo

Guest
おはようございます。
インベンターパネルをモデル化し、このパネルは穴を持っています。 パネルの高さによって穴の数が異なります。 私は高さの範囲と穴のそれぞれの数を識別しましたが、私はilogicルールを書くために行くとき、これは私が入力した措置の最初の範囲だけを考慮するので、適切に動作しません。 ルールのプログラミングで何が間違っていますか?

パラメータでilogicルールとパネルパターンを取り付けました。
感謝の気持ち
Code:
'altezze pannelli che prevedono 2 フォア

もし(altezza_pannello - y_foro) <350 mm なら、
interasse_1 = 160のmm
feature.isactive("foro1") = true
feature.isactive("foro2") = true
feature.isactive("foro3") = false
feature.isactive("foro4") = false
feature.isactive("foro5") = false
feature.isactive("foro6") = false
soif 351 mm <(altezza_pannello - y_foro) < 500 mm
interasse_1 = 320 mm
feature.isactive("foro1") = true
feature.isactive("foro2") = true
feature.isactive("foro3") = false
feature.isactive("foro4") = false
feature.isactive("foro5") = false
feature.isactive("foro6") = false
soif 501 mm <(altezza_pannello - y_foro)<650 mm
interasse_1 = 480 の mm
feature.isactive("foro1") = true
feature.isactive("foro2") = true
feature.isactive("foro3") = false
feature.isactive("foro4") = false
feature.isactive("foro5") = false
feature.isactive("foro6") = false

'altezze pannelli che prevedono 3 フォア

651 mm <(altezza_pannello - y_foro) <820 mm
interasse_1 = 320 mm
interasse_2 = 320 mm
feature.isactive("foro1") = true
feature.isactive("foro2") = true
feature.isactive("foro3") = true
feature.isactive("foro4") = false
feature.isactive("foro5") = false
feature.isactive("foro6") = false
soif 821のmm<(altezza_pannello-y_foro)<980のmm
interasse_1 = 320 mm
interasse_2 = 480 mm
feature.isactive("foro1") = true
feature.isactive("foro2") = true
feature.isactive("foro3") = true
feature.isactive("foro4") = false
feature.isactive("foro5") = false
feature.isactive("foro6") = false
soif 981<(altezza_pannello - y_foro) <1150 mm その後
interasse_1 = 480 の mm
interasse_2 = 480 mm
feature.isactive("foro1") = true
feature.isactive("foro2") = true
feature.isactive("foro3") = true
feature.isactive("foro4") = false
feature.isactive("foro5") = false
feature.isactive("foro6") = false
soif 1151 mm <(altezza_pannello - y_foro) < 1299 mm
interasse_1 = 480 の mm
interasse_2 = 640 mm
feature.isactive("foro1") = true
feature.isactive("foro2") = true
feature.isactive("foro3") = true
feature.isactive("foro4") = false
feature.isactive("foro5") = false
feature.isactive("foro6") = false

'altezze pannelli che prevedono 4 フォア

1300 mm <(altezza_pannello - y_foro) <1520 mm
interasse_1 = 480 の mm
interasse_2 = 480 mm
interasse_3 = 320 mm
feature.isactive("foro1") = true
feature.isactive("foro2") = true
feature.isactive("foro3") = true
feature.isactive("foro4") = true
feature.isactive("foro5") = false
feature.isactive("foro6") = false
soif 1521のmm<(altezza_pannello) <1620のmm それから
interasse_1 = 640 mm
interasse_2 = 480 mm
interasse_3 = 320 mm
feature.isactive("foro1") = true
feature.isactive("foro2") = true
feature.isactive("foro3") = true
feature.isactive("foro4") = true
feature.isactive("foro5") = false
feature.isactive("foro6") = false
soif 1621 mm<(altezza_pannello - y_foro)<1900 mm<
interasse_1 = 640 mm
interasse_2 = 480 mm
interasse_3 = 480 mm
feature.isactive("foro1") = true
feature.isactive("foro2") = true
feature.isactive("foro3") = true
feature.isactive("foro4") = true
feature.isactive("foro5") = false
feature.isactive("foro6") = false

'altezze che prevedono 5 フォア

1900 mm <(altezza_pannello - y_foro) <2100 mm
interasse_1 = 640 mm
interasse_2 = 480 mm
interasse_3 = 320 mm
interasse_4 = 480 mm
feature.isactive("foro1") = true
feature.isactive("foro2") = true
feature.isactive("foro3") = true
feature.isactive("foro4") = true
feature.isactive("foro5") = true
feature.isactive("foro6") = false
2101 mm <(altezza_pannello - y_foro) <2400 mm
interasse_1 = 640 mm
interasse_2 = 480 mm
interasse_3 = 320 mm
interasse_4 = 640 mm
feature.isactive("foro1") = true
feature.isactive("foro2") = true
feature.isactive("foro3") = true
feature.isactive("foro4") = true
feature.isactive("foro5") = true
feature.isactive("foro6") = false

'altezze che prevedono 6 フォア

2401 mm <(altezza_pannello - y_foro) <2700 mm
interasse_1 = 640 mm
interasse_2 = 480 mm
interasse_3 = 320 mm
interasse_4 = 640 mm
interasse_5 = 480 mm
feature.isactive("foro1") = true
feature.isactive("foro2") = true
feature.isactive("foro3") = true
feature.isactive("foro4") = true
feature.isactive("foro5") = true
feature.isactive("foro6") = true
soif (altezza_pannello-y_foro) >2701 mm その後
interasse_1 = 640 mm
interasse_2 = 480 mm
interasse_3 = 320 mm
interasse_4 = 640 mm
interasse_5 = 640 mm
feature.isactive("foro1") = true
feature.isactive("foro2") = true
feature.isactive("foro3") = true
feature.isactive("foro4") = true
feature.isactive("foro5") = true
feature.isactive("foro6") = true
端 もし
 
(351 mm < = height_pannello - y_foro) と (height_pannello - y_foro) <= 500 mm)

構文の問題だと言える
 

Forum statistics

Threads
46,674
Messages
380,976
Members
2
Latest member
loop80
このフォーラムは、www.cad3d.it/forum1 - イタリアのデザインコミュニティの機械翻訳です。いくつかの用語は正しく翻訳されていません。

Members online

No members online now.
Back
Top