Debuged Graph Tree Reordering Method in the thread560-251808
Debuged Graph Tree Reordering Method in the thread560-251808
(OP)
thread560-251808: CATIA Portable Script Center
Just Import .bas and .frm file to your existing or new catvba project.
Updates:
Adding / Removing List item (Part / Product) selection directly by double clicking on list.
Error at the end of process removed.
Just Import .bas and .frm file to your existing or new catvba project.
Updates:
Adding / Removing List item (Part / Product) selection directly by double clicking on list.
Error at the end of process removed.





RE: Debuged Graph Tree Reordering Method in the thread560-251808
The frx file is missing, you will get an error if import the frm file. Could be a good macro if is fixed...
You can post directly a zipped catvba.
Regards
Fernando
https://picasaweb.google.com/102257836106335725208
https://picasaweb.google.com/103462806772634246699...
RE: Debuged Graph Tree Reordering Method in the thread560-251808
RE: Debuged Graph Tree Reordering Method in the thread560-251808
RE: Debuged Graph Tree Reordering Method in the thread560-251808
you will need your part name in following format "AAXXXXXXX-XXX-XX-XX" WHERE AAXXXXXXX IS UNIT NUMBER, XXX IS ASSEMBLY CODE, XX IS SUB ASSEMBLY / PART, XX IS PART / CHILD PART. OR YOU MAY CHANGE THE CODE TO SUIT YOUR PART NUMBER.
RE: Debuged Graph Tree Reordering Method in the thread560-251808
Thanks for the code, is a good start (again), star from me.
I've modified also a little bit the code but there are still cases which has to be taken in consideration. Now there is no problem with the names but it will give error if you have parts not loaded...deactivated components are moved on first place and instance names are also renamed (which is not always what I want).
Maybe is good also to put some warning messages about the constrains, they will be broken after cut-paste operation (easy to create fix constrains after finishing reorder).
Regards
Fernando
https://picasaweb.google.com/102257836106335725208
https://picasaweb.google.com/103462806772634246699...
RE: Debuged Graph Tree Reordering Method in the thread560-251808
Hi Fernando,
Take a look with attachment. this may give what you want.
Aaditya Dengle
----------------------------
Never stop learning........