Interactive/XRiteCustom.py

# (C) Copyright 2012 Autodesk, Inc.  All rights reserved.
#
# This computer source code and related instructions and comments are
# the unpublished confidential and proprietary information of
# Autodesk, Inc. and are protected under applicable copyright and
# trade secret law.  They may not be disclosed to, copied or used by
# any third party without the prior written consent of Autodesk, Inc.


# Enable X-Rite material editing and measurement when installed.

from UserCustomization  import UserCustomBase, CustomInfo
from RTFapi             import SystemInformation

class XRite( UserCustomBase ):
    def __init__( self ):
        print "Enabling full X-Rite shader"
        SystemInformation.instance().setConfigSwitch("xrite", True)


def instantiate():
    return XRite()


def info():
    customInfo = CustomInfo()
    customInfo.vendor = 'Autodesk'
    customInfo.version = '4.0'
    customInfo.api = '2013'
    customInfo.shortInfo = "Edit and measure X-Rite material."
    customInfo.longInfo = \
"""Enable full support for X-Rite material editing and measurement when installed.
"""
    return customInfo