I download source code Sorter from the forum. it works well, but if link-broken exsits, it'll have no reaction. So I hope to modify it with link-broken dection, when there is link-broken, it'll skip it or give a warn. but I don't known how to do...
Hello, everyone.
I write a reorder macro,it works perfect when parts links well, but if there is any link broken, error occurs. How to check the link broken by marco automatically, and if link-broken exsits, the macro will skip or give a warn.
Thank in advance.
hi everybody,
I want to make a macro to change the color of holes of certain diameter on all parts, say diameter 10,to pink color, first I want to search the holes of diameter 10,but I don't know how to search these holes.
I need help.
Thanks in advannce.
to ferdo,
Sorry to make you misunderstanding.
My purpose is to select some parts( say, part_1 to part_n,see bellow), and save them to a specified folder,for example, E:\wlding_jig\unit_1, which is input in InputBox.
I know this can be realised by saveas one by one, but it's wastetime...
To itsmyjob,
thanks for your reply.
Yes,I find a macro in the forum, which can save all items to one folder, but I expect to save selected part to different folder,let say some to Folder A, some to Folder B, bolt and nut to a Fastener Folder, motor and cylinder to purchased part Folder,etc…
The...
I creat a macro( see bellow) to save selected part to a specified Path but failed. any help will be appreciated.
''''''''''''''''''''
Language = "VBScript"
CATIA.DisplayFileAlerts = False
sub CATMain()
Set cad = CATIA.ActiveDocument
Set sel = cad.Selection
Set prod = cad.Product.Products
Set...
I want to add the "SmartSort" to my Catia toolbar,and created a macro(see bellow),but failed to run.how to fix it?
Any help will be appriciated.
Sub CATMain()
CATIA.SystemService.ExecuteProcessus("D:\00_CATia_tool\SmartSort.exe") 'file position
End Sub...
I chsnged "For v = 1 To oDocs.Count" to For "v = 1 To sel.Count",it doesn't work.there are also a lot other problems, such as: when select the parts for the second time,snd run the macro, "open Product first" will show.
It's so complicated for me to moiidfied this macro. I give it up.I create...
some similaer with Save Management,but more faster, I search the fuorum and combined some macoo, basicly realize the function , but still have some problems,ie.
1)I expect to rename and save selested parts, but it save all parts,
2)It save twice,I don't know why
3)sometimes, some error occur...
I create a macro,the object is to:
1)rename the part name and instance name,
2) the instance name same to part name suffix ,for example, the part number is xxxx-001, the instance should be 001, if there are sevral xxx-001, the instance name should be 001, 001.1 001.2 etc.
3)save the renamed...