Posts: 16
Threads: 8
Joined: Aug 2021
Reputation:
0
Hi
I had an issue where a user accidently changed the values for a reference frame - is it possible to lock certain items in RDK to prevent users modifying? Password protect certain values or similar?
问候
Andy
Posts: 1,832
Threads: 2
Joined: Oct 2018
Reputation:
70
I know we have something hidden regarding this, but I can't find where it is. (it should be more accessible I believe)
I'll ask Albert.
Jeremy
Posts: 16
Threads: 8
Joined: Aug 2021
Reputation:
0
thanks Jeremy any progress on this?
问候
Andy
Posts: 1,832
Threads: 2
Joined: Oct 2018
Reputation:
70
Great Albert.
Let us know how it goes Andy!
Posts: 2
Threads: 0
Joined: May 2023
Reputation:
0
Hey all, I tried using the setFlagsItem and I did not have results I expected. I was able to get the flags, change them, and see that they were changed, but the item was still not locked and ended up moving around as if there was no change to the flags.
I had to go up the tree in the documentation and use setFlagsRoboDK to make a real change. My goal was to lock the generated reference frames and this was the code that worked:
RDK.setFlagsRoboDK(flags=32768+8192+4096+2048+1024+512+256+128+64+32+16+8+4+2+1)
However, once the frames are locked in this instance of RoboDK, anytime I open a new instance the frames remain locked. I can easily unlock the frames with this command so this approach will work:
RDK.setFlagsRoboDK(flags=0XFFFF)
去od luck,
Josh Ermias