AnsweredAssumed Answered

Get Sensor-Data and Controll Motors

Question asked by Simon Fritz on Feb 29, 2016
Latest reply on Apr 1, 2016 by Simon Fritz

Hi,

 

iam looking for way to get all SENSORS in a Solidworks document to get the values. The aim is to controll Motion-motors from a small robot and synchronice it with the virtual twin. So the second question is how to get all motors?

 

Iam already able to read all "FeatTypeName" but i cant get all children of the "SensorFolder". There for i used this example:

2012 SOLIDWORKS API Help - Get Features of Multibody Sheet Metal Part Example (C#)

 

I tried to  use an FeatureFolder instead of the Bodyfolder but it didnt worked. Does anyone knows how to get the Sensors and their values?

 

Thx!

Simon

Outcomes