Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Hello forum members,
I am using Creo Parametric 10.0.7.0 together with Creoson and Python to create a (more or less) fluid animation. In the files you can look at my code.
My problem here is that whenever the value for the parameter is set and the regeneration is done the view changes so that the assembly is centered in the middle. Does anyone know how to do something against that?
I'm grateful for every bit of help, thank you.
Kind regards
Solved! Go to Solution.
Hi,
in the assembly ... add some geometry (e.g. a surface) that creates an envelope for the assembly geometry. Then hide this geometry to make it invisible.
Hi,
in the assembly ... add some geometry (e.g. a surface) that creates an envelope for the assembly geometry. Then hide this geometry to make it invisible.
Thank you very much.
After Regen your Model the bounding box may change, this will force the model view to be updated. You need a some geometry which is always bigger than the rest of model. Now after regen the model will stay with a similar view transformation, because max size or the bbox is not changing.
A surface, created by an extruded rectangle and 3 max values in x y and z will help. This feature place on a layer and blank, now you are good to go.
Similar to Martins answer😉
Thank you for your help.