[As...] Posted 5 hours ago Share Posted 5 hours ago (edited) My project have 100's of BestFit alignments and one RPS alignment. For some reason a guy programmed the BestFit alignment based on RPS. But here the problem is the BestFit alignment creation has to be based on Pre-alignment instead of RPS. So normal thing to do is manually open each BestFit alignment and change the Heirarchy to Prealignment , which will work 100%. But here the problem is i have to do for all 100's of alignments. So I recorded the script for one Alignment change and try to do for all other alignments. but the GOM does not allow this in scripting API Somebody please give any idea to fix this issue ? Does anybody know if the newer version of software shows the same error ? Im using GOM 2020 version.  Edited 5 hours ago Link to comment Share on other sites More sharing options...
[Ma...] Posted 2 hours ago Share Posted 2 hours ago You can do it manually by draging those alignments one by one from current ( Main ) into prealignment. You still have to do it one by one, but better than reopening that window. I will be at Inspect again in monday Link to comment Share on other sites More sharing options...
[Na...] Posted 1 hour ago Share Posted 1 hour ago There is a function in Operations -> Alignment -> Edit Alignment -> Move Alignment which worked for me in a simple test project by scripting. Â Link to comment Share on other sites More sharing options...
[As...] Posted 1 hour ago Author Share Posted 1 hour ago Please sign in to view this username. , you are right. I could drag the alignments without re-opening the window. Im looking for a easy script solution. I have many projects like this to move alignments , will be much difficult to do one by one. Also , The script wont work even if we run the same manual recorded steps. I wonder if this has anything to do with version GOM 2020 Python API. Â Link to comment Share on other sites More sharing options...
[As...] Posted 1 hour ago Author Share Posted 1 hour ago Please sign in to view this username. , Great ! It works with script. I completely missed this feature. Now I can atleast develop script. Thank you so much 😉 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