v9.0 (2011)
Returns a property, given its scripting name.
Note: This method could return an invalid object in python, use
SceneItem.GetPropertyFromName2
instead.
Property SceneItem.GetPropertyFromName( String in_name ); |
oReturn = SceneItem.GetPropertyFromName( [Name] ); |
Parameter | Type | Description |
---|---|---|
Name | String | The scripting name of the property to get |
NewScene( null, false ); var oSphere = CreatePrim( "Sphere", "MeshSurface" ); var oVisibility = oSphere.GetPropertyFromName( "visibility" ); LogMessage( "Render visibility: " + oVisibility.Parameters( "rendvis" ).Value ); // INFO : Render visibility: true |