Jump to content
3DCoat Forums

Undo for a complex function


kritskiy
 Share

Recommended Posts

  • Member

Basically, the topic. Is it possible to wrap a function that does a lot of stuff so that it's one undo step?

Edited by kritskiy
Link to comment
Share on other sites

  • 1 month later...

This type of questions (very specific) is better to drop a line to Andrew directly.

This is the answer from support AI bot, but I didn't try it.

you can wrap a complex function into a single undo step by using the StartUndo() and EndUndo() functions in your script. This will ensure that all the actions performed within these functions are treated as a single undoable action.

Link to comment
Share on other sites

  • 2 weeks later...
  • Member
On 11/19/2024 at 4:42 PM, Carlosan said:

This type of questions (very specific) is better to drop a line to Andrew directly.

I wonder, where to ? I wrote to support@3d-coat.com , support@pilgway.com and to Vitalii Volokh at vitaliivl@gmail.com about a month ago but didn't get an answer unfortunately

 

AI unfortunately won't help here: it probably doesn't know about API so it just hallucinates 

Link to comment
Share on other sites

Sorry I forgot to attach the mail :( 

 to andrewashpagin@gmail.com

Link to comment
Share on other sites

  • 3 months later...
  • Member

maybe @carrots could help ? I've seen you're working/helping with the Python API.. I've seen that there was some undo functionality added in one of the updates several months ago but docs weren't updated and I have no idea how to use it with a function

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...