@dan rathbun said:
When a new scenepage is created, a COPY of the current page is used to create the new page. So whatever Axes are set for the current page, will be dup'd into the new page.
So.. sounds to me like you may be inside a group or component editing context (and so that parent's axes is current,) when you create the component-copy-scenepage.
Ah; right, that's the crucial bit of info I was lacking. Yes, the annoyance occurs when we have a component with sub-components, are editing the outer component, and thus have the outer component's axes on display. I hadn't ever really noticed the jumping around of axes before...
@dan rathbun said:
If that's the case.. just get a ref to the nested component... then back out of the editing context(s) model.close()
until the context is at the model context ??
I could do that I guess but it seems like it would be a pretty annoying thing to have messed up the user's edit situation, especially if it had involved descending a dozen levels into a complex model. Hmm, I suppose it must be possible to record the chosen components that are 'open' on the way up and then do the component scene creation, then re-walk the list to get back to where the user had been.
Ta.