C# scripts (Mac) - undo not working

V8 on a mac intel (Version 8 (8.12.24261.13002, 2024-09-17))

…a simple c# script using RhinoCode that adds some geometry to the doc.
cmd-Z is not working after the script has run.
that s not very handy.

@eirannejad ?

kind regards - tom

hi @Tom_P This bug has been (hopefully) fixed
RH-83835 Undo stops working

Pls let me know if your case is different.
I can send you a newer build with that fix, if needed.

run this fantastic script:

using System;
using Rhino;

RhinoDoc.ActiveDoc.Objects.AddPoint(1,2,3);

_selLast
1 point added to selection.
_undo
Nothing to undo.

i would expect that running the script is part of the undo-stack and the point vanishes…

if a newer build for mac intel does not have this issue - i am happy to use it.

thanks.

tom

Undo seems to work after running that code

pm sent

1 Like

Thanks - the Problem is solved with your private message early bird dujour Version 8 (8.13.24267.06002, 2024-09-23).

2 Likes