(Check
out the second example in the Object Model reference for the View object -
it shows an example of Javier's suggestion to use a view)
-----Original Message-----
From: owner-xsi(at)Softimage.COM
[mailto:owner-xsi(at)Softimage.COM]On Behalf Of javier
Posted
At: Sunday, October 02, 2005 11:33 AM
Posted To:
xsi
Conversation: PPG Group Width Percentage at Absolute
Value
Subject: Re: PPG Group Width Percentage at Absolute
Value
Within the layout you have siUICX to set
absolute sizes, it doesnt work for everythig but yes for some
things
forinstance on a button witin your
layoug
var butt =
oLayout.AddButton("asdfa")
butt.SetAttribute (siUICX, 200)
butt.SetAttribute
(siUICY, 200)
If you want to pop a ppg of a given size you can do it
creating a view and putting the ppg within the view, and then the view can
have absolute size and placement. It is a bit of apain to do but if you really
need it, you can.
j
On 9/30/05, Paul-Jozef
PJ Torrevillas <ptorrevillas(at)omation.com>
wrote:
I
did look in the docs, haven't quite found anything...mostly always
brings
me back to the WidthPercentage.
Thanks for the input
Bernard.
PJ
-----Original Message-----
From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf
Of
Bernard Lebel
Sent: Friday, September 30, 2005 11:30 AM
To: XSI(at)Softimage.COM
Subject: Re: PPG
Group Width Percentage at Absolute Value
For your first question, I'm
not sure but have you checked the
AddGroup entry in the
doc?
For the second question, yes, but I believe it would be
better to
build the entire layout at once.
I like building highly
dynamic ppgs, with callbacks that can change
the content, like
removing/adding parameters and layout items. To
handle that, I usually
put everything inside a big function, and all
callbacks simply call this
function with the appropriate arguments.
Works very well. There is such a
plugin lying around XSI Base, made by
Chinny, that uses this technique
(wich I got from).
Cheers
Bernard
On 9/30/05,
Paul-Jozef PJ Torrevillas <ptorrevillas(at)omation.com>
wrote:
>
>
>
> Is there a way to set a PPGLayout's
Group Width Percentage as a Set
Absolute
> Value in
pixels? Could you also set the PPG size in pixels on
Inspection?
>
>
>
> Version 4.2 by the
way.
>
>
>
>
>
>
>
>
PJ
>
>
>
>
>
> Paul-Jozef "PJ" M.
Torrevillas
>
> Effects Artist
>
> BARNYARD, THE
MOVIE
>
> Omation Animation Studio
>
> (949)
366-4422 x266
>
> ptorrevillas(at)omation.com
>
>
---
Unsubscribe?
Mail Majordomo(at)Softimage.COM
with the following text in body:
unsubscribe
xsi
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the
following text in body:
unsubscribe
xsi