GetInterfaces Interface Inspector

getInterfaces {<MAXWrapper> | <MAXClass>}

The getInterfaces() function returns an array containing the interfaces exposed by the argument. 

If the argument is a node, the node level interfaces for that node are returned. If you want the interfaces for the node's base object, you need to specify <node>.baseobject as the argument.

EXAMPLE

s=sphere()
--> $Sphere:Sphere01 @ [0.000000,0.000000,0.000000]
converttopoly s
--> $Editable_Poly:Sphere01 @ [0.000000,0.000000,0.000000]
getInterfaces s
--> #(<MixinInterface:IAssembly>, <MixinInterface:INodeGIProperties>, <MixinInterface:INode>, <MixinInterface:INodeLayerProperties>, <MixinInterface:INodeBakeProperties>, <MixinInterface:SkinPose>, <MixinInterface:INodeBakeProjProperties>, <MixinInterface:INodeMentalRayProperties>, <MixinInterface:INodeDisplayProperties>, <MixinInterface:INodeShadingProperties>)
getInterfaces s.baseobject
--> #(<MixinInterface:EditablePoly>)

If the argument is a MAXClass, only static interfaces for that class are returned. Typically, only utility plugin classes define static interfaces.

EXAMPLE

getInterfaces Plug_in_Manager
#(<Interface:PluginMgrAction>)

See Also