Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
Is there a way to use the BaseTypes VEC[X] in the C-SDK?
I did not found any information in the HelpCenter (https://support.ptc.com/help/thingworx/edge_sdk_c/en/) to use the Basetypes.
The only information i found is 4 Jears old (https://community.ptc.com/t5/ThingWorx-Developers/widget-for-3d-coordinates-input/m-p/502598) that states that the Datatypes are only for Vuforia.
I also didn't find any Informations about it in the TWX HC besides the Datatypes (https://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx/Help/Composer/Things/ThingProperties/ThingProperties.html)
So is there a way to use VEC Based Properties in the SDK or is it better to Switch to IT?
Solved! Go to Solution.
Hi @Chrischhan ,
The VEC2, VEC3 & VEC4 primitives are not part of the AlwaysOn protocol (and thus not available in the C SDK).
You can maybe use a LOCATION instead of VEC3, otherwise a generic InfoTable that you will have to transform into VEC on the platform.
Hi @Chrischhan ,
The VEC2, VEC3 & VEC4 primitives are not part of the AlwaysOn protocol (and thus not available in the C SDK).
You can maybe use a LOCATION instead of VEC3, otherwise a generic InfoTable that you will have to transform into VEC on the platform.
Hi Chrischhan
There are description about VEC data type on Thingworx 9 Help center, please check the bottom part of below link.
For your question about C SDK, per below link, I am afraid currently C SDK does not support VEC data type.
http://support.ptc.com/help/thingworx/edge_sdk_c/en/index.html#page/c_sdk%2Fc_csdk_base_types.html%23wwID0ECEDO
Is it possible to let C DSK transfer supported type of data to ThingWorx(TW), then convert data to VEC values on TW side?
Hi @Chrischhan.
If you feel your question has been answered, please mark the appropriate response as the Accepted Solution for the benefit of others with the same question.
Regards.
--Sharon