PDA

View Full Version : Editing Base PPGs


high-on-paracetamol
04-21-2008, 02:21 PM
I am trying to add a number of extra controls to an object's (in this case, a point light's) base property page, instead of putting them on an additional custom property page.

In the SDK Documentation (PPGLayout Class Reference) it says -
"You cannot directly modify an existing layout structure, apart from adding new items at the end or changing the attributes of items already in the layout."

From this I assumed that it is possible to do what I intended, but it doesn't seem to work like I would have hoped - using the usual property page editing commands doesn't work. I'm assuming this is because XSI still creates it's objects using SPDL files for the property pages. Is there any way to get around this or am I interpreting the documentation incorrectly?

I'm currently using Python, but any kind of help is welcome.

kim aldis
05-13-2008, 03:41 AM
if you right click on the top bar of the ppg you get a drop-down menu with an edit spdl option in it. Obviously be careful and make a backup before making changes.

It's very short but check out my piece on adding a photoshop button to an image clip ppg at www.kim-aldis.co.uk/drupal-6.1/node/18