Skip to content

2017 API dlibrary.object_base.ObjectTypeEnum

Dieter Geerts edited this page Sep 24, 2016 · 1 revision

dlibrary.object_base.ObjectTypeEnum

Holds all object type constants in human readable/understandable names.

Base classes

  • object The most base type

Constants

  • CLASS_DEFINITION (94)
  • GRADIENT_FILL_DEFINITION (120)
  • GROUP (11)
  • HATCH_FILL_DEFINITION (66)
  • IMAGE_FILL_DEFINITION (119)
  • LINE_STYLE_DEFINITION (96)
  • LOCUS (17)
  • NONE (0)
  • PLUGIN_OBJECT (86)
  • RECORD_DEFINITION (47)
  • RECTANGLE (3)
  • SYMBOL (15)
  • SYMBOL_DEFINITION (16)
  • TILE_FILL_DEFINITION (108)

Static methods

get(handle_or_name: 'vs.Handle | str') -> int

Gets the object type based on the handle or name. In VW, both are keys, but name isn't always provided. Also, some vs calls work with handles, others with names.

:returns: None if the handle or name doesn't references an actual object.

Home

DLibrary for VW2017

PREVIOUS VERSIONS

Clone this wiki locally