GetProjectMaterialNames

Returns the material names belonging to an active project.

UI Access N/A
Parameters
Name Type Description
None    
Return Value  String names of the materials in the active project.

 

Python Syntax GetProjectMaterialNames()
Python Example

oProject = oDesktop.GetActiveProject()

oDefinitionManager = oProject.GetDefinitionManager()

materials = oDefinitionManager.GetProjectMaterialNames()

AddWarningMessage(str(materials))