v4.0
Returns a LibraryCollection containing the MaterialLibrary objects associated with the scene. This list contains all material libraries under the Source container ("Scene.Sources").
# # This example demonstrates how to create and access material libraries # Application.NewScene( "", 0 ) # First create a new library Application.CreateLibrary( "TestMatLib", 1 ) oMatLibs = Application.ActiveProject.ActiveScene.MaterialLibraries for oLib in oMatLibs : Application.LogMessage( oLib ) # Expected result: #INFO : Sources.Materials.DefaultLib #INFO : Sources.Materials.TestMatLib |