kittycad.models.modeling_cmd.highlight_set_entity
- class kittycad.models.modeling_cmd.highlight_set_entity(selected_at_window=<kittycad.types.Unset object>, sequence=<kittycad.types.Unset object>, type='highlight_set_entity')[source][source]
Bases:
object
Changes the current highlighted entity to whichever one is at the given window coordinate. If there’s no entity at this location, clears the highlight.
Method generated by attrs for class highlight_set_entity.
- __init__(selected_at_window=<kittycad.types.Unset object>, sequence=<kittycad.types.Unset object>, type='highlight_set_entity')[source]
Method generated by attrs for class highlight_set_entity.
Methods
__init__
([selected_at_window, sequence, type])Method generated by attrs for class highlight_set_entity.
from_dict
(src_dict)- rtype:
TypeVar
(GU
, bound= highlight_set_entity)
to_dict
()Attributes
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'selected_at_window': typing.Union[kittycad.types.Unset, kittycad.models.point2d.Point2d], 'sequence': typing.Union[kittycad.types.Unset, int], 'type': <class 'str'>}[source]
- __attrs_attrs__ = (Attribute(name='selected_at_window', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.point2d.Point2d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='selected_at_window'), Attribute(name='sequence', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, int], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='sequence'), Attribute(name='type', default='highlight_set_entity', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'selected_at_window': typing.Union[kittycad.types.Unset, kittycad.models.point2d.Point2d], 'sequence': typing.Union[kittycad.types.Unset, int], 'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': "Changes the current highlighted entity to whichever one is at the given window coordinate. If there's no entity at this location, clears the highlight.", 'to_dict': <function highlight_set_entity.to_dict>, 'from_dict': <classmethod(<function highlight_set_entity.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function highlight_set_entity.__getitem__>, '__setitem__': <function highlight_set_entity.__setitem__>, '__delitem__': <function highlight_set_entity.__delitem__>, '__contains__': <function highlight_set_entity.__contains__>, '__dict__': <attribute '__dict__' of 'highlight_set_entity' objects>, '__weakref__': <attribute '__weakref__' of 'highlight_set_entity' objects>, '__attrs_attrs__': (Attribute(name='selected_at_window', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.point2d.Point2d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='selected_at_window'), Attribute(name='sequence', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, int], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='sequence'), Attribute(name='type', default='highlight_set_entity', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function highlight_set_entity.__repr__>, '__eq__': <function highlight_set_entity.__eq__>, '__ne__': <function highlight_set_entity.__ne__>, '__lt__': <function highlight_set_entity.__lt__>, '__le__': <function highlight_set_entity.__le__>, '__gt__': <function highlight_set_entity.__gt__>, '__ge__': <function highlight_set_entity.__ge__>, '__hash__': None, '__init__': <function highlight_set_entity.__init__>, '__match_args__': ('selected_at_window', 'sequence', 'type')})[source]
- __init__(selected_at_window=<kittycad.types.Unset object>, sequence=<kittycad.types.Unset object>, type='highlight_set_entity')[source]
Method generated by attrs for class highlight_set_entity.