Dimension objects shape can't be read from API
It's impossible to get the shape of the dimension object from python API.
I looked into it and
GetEffectiveShape() returns a
std::shared_ptr<SHAPE> which can't be easily mapped in swig. SHAPE is an abstract class and only some of it's descendants are mapped right now (poly line shape and some primitives).
This probably needs some casting woodoo similar to how we treat BOARD_ITEMs
Application: KiCad (64-bit) Version: (5.99.0-11634-g4a8c119f24), release build Libraries: wxWidgets 3.1.4 libcurl/7.74.0-DEV Schannel zlib/1.2.11 Platform: Windows 10 (build 19043), 64-bit edition, 64 bit, Little endian, wxMSW Build Info: Date: Aug 2 2021 17:05:41 wxWidgets: 3.1.4 (wchar_t,STL containers) Boost: 1.75.0 OCC: 7.5.0 Curl: 7.74.0-DEV ngspice: 34 Compiler: Visual C++ 1929 without C++ ABI Build settings: KICAD_USE_OCC=ON KICAD_SPICE=ON