Set Material Parameters from Python Script

See this thread: Updating Generic annotation details