-
Notifications
You must be signed in to change notification settings - Fork 3
2017 API dlibrary.document.TileVectorFill
Dieter Geerts edited this page Sep 24, 2016
·
1 revision
- AbstractVectorFill Abstract base class for vector fills = fill resources.
__init__(self, handle_or_name: 'vs.Handle | str')
-
(get) handle
->
vs.Handle -
(get) name
->
str
__eq__(self, other)
Two objects are the same if they are from the same type and both have the same handle. The handle is what Vectorworks sees as the primary key for an object (which is session based!)
__hash__(self)
We need to override this, as we have custom object equality implemented! The Handle class isn't hashable, so we'll use the string representation instead.
__ne__(self, other)