v9.0 (2011)
Returns a local property, given its scripting name.
Note: This method could return an invalid object in python, use SceneItem.GetLocalPropertyFromName instead.
Property SceneItem.GetLocalPropertyFromName( String in_name ); |
oReturn = SceneItem.GetLocalPropertyFromName( [Name] ); |
Parameter | Type | Description |
---|---|---|
Name | String | The scripting name of the local property to get |
NewScene( null, false ); var oSphere = CreatePrim( "Sphere", "MeshSurface" ); if( oSphere.GetLocalPropertyFromName( "display" ) ) LogMessage( "Display prop is local" ); else LogMessage( "Display prop is *not* local" ); if( oSphere.GetLocalPropertyFromName( "kine" ) ) LogMessage( "Kinematics prop is local" ); else LogMessage( "Kinematics prop is *not* local" ); // INFO : Display prop is *not* local // INFO : Kinematics prop is local |