Returns True if the object has the required kind of pset relationship with its parent and False otherwise.
Object ProjectItem.IsA( siPSetRelationship ); |
oBoolean = ProjectItem.IsA( Type ); |
| Parameter | Type | Description |
|---|---|---|
| Type | siPSetRelationship | Type of PSet relationship to check |
set oObj = CreatePrim ("Sphere", "NurbsSurface")
if oObj.IsA(siSharedPSet) then
Application.LogMessage "Sphere is shared"
else
Application.LogMessage "Sphere is local"
end if
|