Open DanRathbun opened 6 years ago
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.
"sketchup_info.h"
"Sketchup.exe"
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.
SUGetVersionStringUtf8
The actual SKP file's model version is read using: SUModelGetVersion(), see "model.h".
SUModelGetVersion()
"model.h"
REF: http://extensions.sketchup.com/developer_center/sketchup_c_api/sketchup/sketchup__info_8h.html
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