On 20/09/2017 at 14:47, xxxxxxxx wrote:
Hi, I'm was making a pretty simple script dealing with the BaseDraws of a document.
from c4d import gui
def main() :
while doc.GetBaseDraw(checkspot) != None:
bd = doc.GetBaseDraw(checkspot)
bd.SetName("Viewport " + str(checkspot))
checkspot = checkspot+1
So I'm just renaming each of the BaseDraws, which works fine. But when I use the Undo that I implemented the current BaseDraw that I'm viewing changes as well as the names of the BaseDraws reverting and I'm not sure why that would swap my view.
On 21/09/2017 at 04:00, xxxxxxxx wrote:
I'm afraid changing the name of a BaseDraw/viewport is not an undoable change.
On 22/09/2017 at 10:41, xxxxxxxx wrote: