IsA (ProjectItem)

Description

Returns True if the object has the required kind of pset relationship with its parent and False otherwise.

Scripting Syntax

ProjectItem.IsA( Type )

C# Syntax

Object ProjectItem.IsA( siPSetRelationship );

Parameters

Parameter

Type

Description

Type

siPSetRelationship

Type of PSet relationship to check

Return Value

Boolean

Examples

VBScript Example

set oObj = CreatePrim ("Sphere", "NurbsSurface")

if oObj.IsA(siSharedPSet) then
   Application.LogMessage "Sphere is shared"
else
   Application.LogMessage "Sphere is local"
end if


Autodesk Softimage v7.5