AnsweredAssumed Answered

Select sensor

Question asked by Michael Nebel on Dec 15, 2015
Latest reply on Dec 21, 2015 by Michael Nebel



Why is it not able to select a sensor via VBA-macro?


I am using the following code, but unfortunately nothing will be selected:


boolstatus = swModel.Extension.SelectByID2("Stress1", "SENSOR", 0, 0, 0, True, 0, Nothing, swSelectOptionDefault)


When I am recording a macro in SW, the output is the following:


boolstatus = swModel.Extension.SelectByID2("Unknown", "BROWSERITEM", 0, 0, 0, False, 0, Nothing, 0)


Thanks in advance


Best regards