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.
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.