pyslapi icon indicating copy to clipboard operation
pyslapi copied to clipboard

Executable only definitions in pyslapi /slapi / slapi.pxd

Open DanRathbun opened this issue 7 years ago • 0 comments

pyslapi/slapi/slapi.pxd

The definitions from "sketchup_info.h" are exported ONLY by the "Sketchup.exe" executable, and are not available to the standalone C API SDK.

If you think about it, SKP files have no pro or make edition. All SKP files are just SKP files.

It also makes no sense to define a function to read a running "Sketchup.exe" application version (ie, SUGetVersionStringUtf8) in a standalone SDK.

The actual SKP file's model version is read using: SUModelGetVersion(), see "model.h".


REF: http://extensions.sketchup.com/developer_center/sketchup_c_api/sketchup/sketchup__info_8h.html

DanRathbun avatar Feb 06 '18 02:02 DanRathbun