Interactive/EmptyCustom.py

##
## (C) Copyright 2012 Autodesk, Inc. All Rights Reserved.
##
## By using this code, you are agreeing to the terms and conditions of
## the License Agreement included in the documentation for this code.
##
## AUTODESK MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AS TO THE
## CORRECTNESS OF THIS CODE OR ANY DERIVATIVE WORKS WHICH INCORPORATE
## IT. AUTODESK PROVIDES THE CODE ON AN "AS-IS" BASIS AND EXPLICITLY
## DISCLAIMS ANY LIABILITY, INCLUDING CONSEQUENTIAL AND INCIDENTAL
## DAMAGES FOR ERRORS, OMISSIONS, AND OTHER PROBLEMS IN THE CODE.
##
## Use, duplication, or disclosure by the U.S. Government is subject
## to restrictions set forth in FAR 52.227-19 (Commercial Computer
## Software Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
## (Rights in Technical Data and Computer Software), as applicable.
##

# You will need Autodesk Showcase 2008 or later
#
 
# 
# It does nothing, but it has a side effect of the user preferences
# directory getting added to the python system path.

__all__ = ['Empty', 'instantiate']

from UserCustomization  import UserCustomBase, CustomInfo

class Empty (UserCustomBase):
    def __init__(self):
        #UserCustomBase.__init__(self)
        pass

def instantiate():
    print "Instantiating EmptyCustom.Empty"
    return Empty()



def info():
    customInfo = CustomInfo()
    customInfo.vendor = 'Autodesk'
    customInfo.version = '1.0'
    customInfo.api = '2013'
    customInfo.shortInfo = "An empty add-in."
    customInfo.longInfo = \
"""An empty add-in that does nothing.
"""
    return customInfo