algorithmic modeling for Rhino
Hi,
Thanks for replying. It resets the recorders. I want to control the record button not the reset.
Adding a private boolean to document the last state of the recorder will do the trick
private bool recState = true;
then you need to add something like:
if(pause)
{
dataDestroy.RecordData = !recState;
recState = dataDestroy.RecordData;
}
where pause is a button boolean. this will work for one recorder.
I will have to look into this when i get back to a computer.
Ta,
M
Ok Ignore my previous reply.
No need for a global bool.
Please refer to the attached.
Best,
M
WORKED LIKE A CHARM.. Thanx :)
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by