9.1. How to log calls to the modelΒΆ

In this example, we will perform simple tasks and specify that they should be logged. If a macro recording is active, they will be included in the recording and could be played back.

from ORSModel import Channel

aChannel = Channel(logging=True)
aChannel.setXYZTSize(100, 120, 140, 1, logging=True)
aChannel.initializeDataForFLOAT(logging=True)
aChannel.setAllData(10, logging=True)
aChannel.publish(logging=True)