The MainMaterial module

To get help on the MainMaterial module, you can use the built-in Python functions dir() and help() .

SDS2 Python Prompt

>>> import MainMaterial                            # import the module
>>>
>>> dir(MainMaterial)                                 # do a dir() on the module name
['__doc__', '__name__', '__package__', 'id', 'is_main_mtrl', 'is_non_main_mtrl', 'is_reserved_main_mtrl', 'is_unreserved_main_mtrl', 'is_valid_id']

page 1 | contents | modules | top