[Ad...] Posted January 12, 2021 Share Posted January 12, 2021 Dear All I discovered i am not able to get some dimensions after alignment creation before closing my script. Dimensions are updated only when i close the script. I would like to do everything in one script because at the end of the script i am collecting dimensions and exporting them to my customized text file. Below is sample picture illustrating this problem with steps description in python code. Is it possible to some how update dimensions and geometry during script running ? Some refresh or update function ? Regards A.B. Link to comment Share on other sites More sharing options...
[Se...] Posted January 13, 2021 Share Posted January 13, 2021 Hi Adam, A project recalculation should do the job. Try adding this line, before you try to get the dimensions: gom.script.sys.recalculate_project (with_reports=False) Hope this helps, Sergio Link to comment Share on other sites More sharing options...
[Ad...] Posted January 13, 2021 Author Share Posted January 13, 2021 thanks Sergio. Currently i work without license so i am not able to check this solution. But it looks promising. I will check and update this topic next week when i will catch the license again. Regards A.B. Link to comment Share on other sites More sharing options...
[Ad...] Posted January 21, 2021 Author Share Posted January 21, 2021 I tested this function and i confirm, it works. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in