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()

rtype:

Dict[str, Any]

Attributes

additional_keys

selected_at_window

sequence

type

additional_properties

__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]
__contains__(key)[source][source]
Return type:

bool

__delitem__(key)[source][source]
Return type:

None

__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]
__eq__(other)[source]

Method generated by attrs for class highlight_set_entity.

__ge__(other)[source]

Method generated by attrs for class highlight_set_entity.

__getitem__(key)[source][source]
Return type:

Any

__gt__(other)[source]

Method generated by attrs for class highlight_set_entity.

__hash__ = None[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.

__le__(other)[source]

Method generated by attrs for class highlight_set_entity.

__lt__(other)[source]

Method generated by attrs for class highlight_set_entity.

__match_args__ = ('selected_at_window', 'sequence', 'type')[source]
__module__ = 'kittycad.models.modeling_cmd'[source]
__ne__(other)[source]

Method generated by attrs for class highlight_set_entity.

__repr__()[source]

Method generated by attrs for class highlight_set_entity.

__setitem__(key, value)[source][source]
Return type:

None

property additional_keys: List[str][source]
additional_properties: Dict[str, Any][source]
classmethod from_dict(src_dict)[source][source]
Return type:

TypeVar(GU, bound= highlight_set_entity)

selected_at_window: Union[Unset, Point2d][source]
sequence: Union[Unset, int][source]
to_dict()[source][source]
Return type:

Dict[str, Any]

type: str[source]