ProjectItem.IsA
 
 
 

ProjectItem.IsA

Description

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

C# Syntax

Object ProjectItem.IsA( siPSetRelationship );

Scripting Syntax

oBoolean = ProjectItem.IsA( Type );

Return Value

Boolean

Parameters

Parameter Type Description
Type siPSetRelationship Type of PSet relationship to check

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