オブジェクトとその親との間に、指定された種類の pset 関係がある場合は True を戻し、ない場合は false を戻します。
Object ProjectItem.IsA( siPSetRelationship ); |
oBoolean = ProjectItem.IsA( Type ); |
| パラメータ | タイプ | 説明 |
|---|---|---|
| Type | siPSetRelationship | 確認する PSet関係のタイプ |
set oObj = CreatePrim ("Sphere", "NurbsSurface")
if oObj.IsA(siSharedPSet) then
Application.LogMessage "Sphere is shared"
else
Application.LogMessage "Sphere is local"
end if |