I have an null container with a python tag. Object structure as below:
- Python tag has a single user data that holds an object link value
- Loft object uses two instances: start and end.
- Their link values are assigned by python tag.
- and lastly I grab loft object's width value and use that value as cube object X location.
problem is when I assign new value to loftShapeLink user data I can't get loft object's width value correctly. I have to trigger python tag again and that time it runs perfectly. As you can see in sample file, after new shape assignments instance object link value is correctly assigned but width value is not updated(I got previous value).
How can I get correct width value after first execution of the script? This is a problem because I can't use takes to render scenes. Because when marked takes render is started scripts run only 1 time for active take and shape positions are not correctly rendered.
Note: I have to use null containers for shapes just because axis points. I tried only shape objects as link objects but it is not effect the result.