iv_GetiLogicRuleObject()

概要

指定されたパーツ p の ruleName の iLogic ルール オブジェクトを返します。

構文

iv_GetiLogicRuleObject( p As Part, ruleName As String) As Any
引数 [タイプ] 説明
p パーツ ruleName を含むパーツです。
ruleName 文字列 iLogic ルールの名前です。ルールパーツ内に存在しない場合は例外が発生します。

例 1

Intent >iv_GetiLogicRuleObject( Me, "Paint Rule").Text

--> "if Paint = ""None"" then
    iProperties.PartColor = ""As Material""
  else
    iProperties.PartColor = Paint
  end if

AlsoTriggeredBy = Material"