Just note that if the object is clone, that script won't enable the ops
The CopyOp at the bottom is never disabled



On Fri, Aug 8, 2014 at 4:24 AM, Tim Bolland <[email protected]>
wrote:

> Ha no worries, thanks for the script. Really useful!
>
> Tim
>
> ------------------------------
> From: [email protected]
> Date: Thu, 7 Aug 2014 14:53:23 -0700
> Subject: Re: Scene constantly stuck with geometry operators disabled.
> To: [email protected]
>
> yes, i failed to read you extremely long email outlining exactly that ;)
>
> because i was lazy here is a script to help you...
>
> # python start
> # select all the objects with disabled op stacks
> # attempts to find the bottom op in the stack and enable it and all of the
> above ops
> from sipyutils import si # win32com.client.Dispatch('XSI.Application')
>
> for item in si().Selection:
>     stack = list(item.ActivePrimitive.ConstructionHistory)
>     if stack:
>         # order reversed
>         si().DeactivateAbove(stack[-1], False)
> # python end
>
>
>
>
> On Thu, Aug 7, 2014 at 12:25 PM, Tim Bolland <[email protected]>
> wrote:
>
> Hi, I checked this box originally, saved the file with operators disabled
> ( and my debugging done ), then unchecked the box again thinking that the
> operators would now be enabled when I opened the scene. This isn't the
> case, It's like the disabled operators have been saved into the scene. Is
> this normal behaviour?
>
> Cheers,
>
> Tim
>
> ------------------------------
> From: [email protected]
> Date: Thu, 7 Aug 2014 12:11:51 -0700
> Subject: Re: Scene constantly stuck with geometry operators disabled.
> To: [email protected]
>
>
> check your prefs, there is a mode to disable ops on load... it is for
> debugging purposes
>
>
> On Thu, Aug 7, 2014 at 12:06 PM, Tim Bolland <[email protected]>
> wrote:
>
> HI, I opened a scene with geometry operators disabled in order to hide a
> bunch of ICE trees at start up. I then saved it out and turned off the
> "Disable geometry operators on start up" button, expecting the next time I
> open the scene to have them re-enabled. However they are stuck on disable
> and can't find a way to turn them back on.
>
> Any ideas? I'm using 2015.
>
> Regards,
>
> Tim
>
>
>
>
>

Reply via email to