10-05-2022, 07:30 AM
Good morning. I tried to disable graphical rendering with RDK.Render(False) instruction, but there seems to be no effect. How it is possible?
Render does not set off |
10-05-2022, 07:30 AM
Good morning. I tried to disable graphical rendering with RDK.Render(False) instruction, but there seems to be no effect. How it is possible?
10-05-2022, 11:23 AM
What are you trying to achieve, exactly?
Can you provide your sample code?
Please read the Forum Guidelines before posting!
Find useful information about RoboDK by visiting our Online Documentation.
10-05-2022, 02:59 PM
(This post was last modified: 10-05-2022, 03:12 PM by Federico Orazi.)
I'm trying to disable graphical render in order to speed up offline programming. My sample code should be something like this:
Quote:RDK.setCollisionActive(COLLISION_OFF) I also tried RDK.Render(False) instruction in example macros (such as SampleOfflineProgramming.py) without success.
10-05-2022, 05:57 PM
What do you mean by no effect?
Calling RDK.Render(False) will prevent rendering while you are doing operations. However, it will still render automatically if there was no interaction with the API for some time (approximately 100 ms, this delay can be changed in Tools-Options-Other). On the other hand, calling RDK.Render() itself will always provoke an immediate render.
10-05-2022, 06:44 PM
Ok, I didn't know that it would automatically render after about 100 ms of delay. I need to be sure that the method prevents rendering while I'm doing operations, so I'll try to change this value in Tools-Options-Other.
|
Users browsing this thread: |
1 Guest(s) |