Returns a Boolean value indicating whether the object has the required kind of pset relationship with its parent.
// get accessor Object CollectionItem.get_IsA( Int32 ); |
Parameter | Type | Description |
---|---|---|
Type | siPSetRelationship |
Type of pset relationship to check Default Value: 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) |