closing a SI-opened PPG

Discussions concerning programming of SOFTIMAGE©
Post Reply
User avatar
Hirazi Blue
Administrator
Posts: 5107
Joined: 04 Jun 2009, 12:15

closing a SI-opened PPG

Post by Hirazi Blue » 07 Sep 2009, 12:16

In a script I use the "CreateImageClip" command to do just that, create me an image clip :-?
However, this opens up a PPG for every clip I load and I can't seem to be able to get a handle on the PPGs Softimage creates automatically, so I am unable to close them (or even just the last PPG opened).

This must be very basic stuff, that I am obviously overlooking... 8-}
How do get a handle to the last PPG opened by SI?
Is it possible to forcibly suppress these specific PPGs,
other than toggling the "autoinspect" preference in the script?
Stay safe, sane & healthy!

User avatar
Mootzoid
Administrator
Posts: 243
Joined: 03 Jun 2009, 18:48
Location: Germany/France
Contact:

Re: closing a SI-opened PPG

Post by Mootzoid » 07 Sep 2009, 14:32

Hi Hirazi Blue,

don't know if that is of any help, but here's how you can get the so-called "Views" of the active layout. Maybe you can go from there and somehow get a handle or whatever of the PPGs you want to automatically close.

Code: Select all

set views = Desktop.ActiveLayout.Views
for each v in views
	logmessage v.name
next
best,
Eric

Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests