オブジェクトとその親の間に指定の種類の pset 関係があるかどうかを示すBoolean値を戻します。
// get accessor Object CollectionItem.get_IsA( Int32 ); |
| パラメータ | タイプ | 説明 |
|---|---|---|
| Type | siPSetRelationship |
確認する Pset関係のタイプ デフォルト値: n/a |
set oRoot = Application.ActiveProject.ActiveScene.Root
set oObject = oRoot.AddGeometry("Cube", "MeshSurface")
set oMaterial = oObject.AddMaterial("Phong")
set oCollectionItem = CreateObject("XSI.CollectionItem")
oCollectionItem.Value = oMaterial.FullName
logmessage "Material is shared? " & oCollectionItem.IsA(siSharedPSet) |