ArchMaterial Namespace Reference

The Material object and tools. More...

Classes

class  MultiMaterialDelegate
 

Functions

def getDocumentMaterials ()
 
def getMaterialContainer ()
 
def makeMaterial (name="Material", color=None, transparency=None)
 
def makeMultiMaterial (name="MultiMaterial")
 

Detailed Description

The Material object and tools.

This module provides tools to add materials to Arch objects

Function Documentation

◆ getDocumentMaterials()

def ArchMaterial.getDocumentMaterials ( )
getDocumentMaterials(): returns all the arch materials of the document

References draftutils.translate.QT_TRANSLATE_NOOP.

◆ getMaterialContainer()

def ArchMaterial.getMaterialContainer ( )
getMaterialContainer(): returns a group object to put materials in

Referenced by makeMaterial(), and makeMultiMaterial().

◆ makeMaterial()

def ArchMaterial.makeMaterial (   name = "Material",
  color = None,
  transparency = None 
)
makeMaterial(name): makes an Material object

References getMaterialContainer().

◆ makeMultiMaterial()

def ArchMaterial.makeMultiMaterial (   name = "MultiMaterial")
makeMultiMaterial(name): makes an Material object

References getMaterialContainer().