One of the new scripting features added to SI was the ability to control PPG size upon opening using the SetViewSize() method.
Unfortunately, it only works when opening the PPG as a Modal window, which is useful for some, but not all tool sets developed using a native SI PPG interface.
In the event that it wasn't widely known, here's a technique you can use to open a PPG as a non-model view, yet have complete control over the size and location (sample code in Python):
#---8<-------------------------------------------------------------------------------
import win32com.client
#Get Pointer to your Custom Property (could be stored in Application.preferences)
oProp = Application.ActiveSceneRoot.AddProperty("MyCustomProperty", 0, "My Property")
#Get pointer to current Layout
oActiveLayout = Application.Desktop.ActiveLayout
#Create a new View and insert your custom property into it
oNewView = oActiveLayout.CreateView( "Property Panel", "My Custom Property" )
#Set Size and/or position of the view
oNewView.BeginEdit()
oNewView.Resize( 800, 680 )
oNewView.Move(10, 10)
oNewView.SetAttributeValue( "targetcontent", oProp.FullName )
oNewView.EndEdit()
#---8<-------------------------------------------------------------------------------
More information can be found in the SI docs under the
View Object
If anyone knows any caveats about this technique offhand, please add it to the thread.
-Bradley