Could it be that you have immediate mode enabled?
Also, why do you store the parameters in a global PPG in the SceneRoot rather than on the actual operator per object?
Script is roughly as follows:Hi list,My script generates a bevel operator on an object. I then want a PPG to pop up that allows the user to change certain parameters of the bevel operator. These parameters should update whenever the values in the PPG are changed. However, they only update after the PPG is closed via OK. Can someone point me in the right direction here?
# Lots of stuff after which a bevel operator (op) is generated
MyPSet = A.ActiveSceneRoot.AddProperty("CustomProperty", False, "Bevel_Options")
MyLayout = MyPSet.PPGLayout
MyPSet.AddParameter3("PBevelRatio", c.siFloat, 10, 0.01, 100)
MySlider = MyLayout.AddItem("PBevelRatio", "Ratio", c.siControlNumber)
A.InspectObj(MyPSet, "", "Choose Bevel Options", c.siModal, False)
op.Parameters("ratio").Value = MyPSet.Parameters("PBevelRatio").ValueThank you
Christian
--
-------------------------------------------
Stefan Kubicek
-------------------------------------------
keyvis digital imagery
Alfred Feierfeilstraße 3
A-2380 Perchtoldsdorf bei Wien
Phone: +43/699/12614231
www.keyvis.at [email protected]
-- This email and its attachments are --
--confidential and for the recipient only--
Stefan Kubicek
-------------------------------------------
keyvis digital imagery
Alfred Feierfeilstraße 3
A-2380 Perchtoldsdorf bei Wien
Phone: +43/699/12614231
www.keyvis.at [email protected]
-- This email and its attachments are --
--confidential and for the recipient only--

