def WaveguideProperty(internal_member_name= None, restriction = None,**kwargs): R = RestrictType(__Waveguide__) & restriction return RestrictedProperty(internal_member_name, restriction = R,**kwargs)
def FileTypeProperty(internal_member_name=None, restriction=None, **kwargs): return RestrictedProperty(restriction=RestrictType(FileType), **kwargs)
def DesignRuleProperty(internal_member_name=None, restriction=None, **kwargs): R = RestrictType(__DesignRule__) & restriction return RestrictedProperty(internal_member_name, restriction=R, **kwargs)
def DomainProperty(internal_member_name=None, restriction=None, **kwargs): """Property type for storing a Domain class""" R = RestrictClass(__Domain__) & restriction return RestrictedProperty(internal_member_name, restriction=R, **kwargs)