Apr 17, 2020 #1 DomKum Automotive Joined Nov 27, 2005 Messages 23 Location IN Hi All, Is it possible to extract the list of itmes in a opened CATPart file. Prompt the user to ask if it required to store this in txt format if option is yes else just display on the scren and exit the marco
Hi All, Is it possible to extract the list of itmes in a opened CATPart file. Prompt the user to ask if it required to store this in txt format if option is yes else just display on the scren and exit the marco
Apr 17, 2020 1 #2 Little Cthulhu Marine/Ocean Joined May 27, 2018 Messages 761 Location RU Hi. It is possible. Code: Dim sel: set sel = CATIA.ActiveDocument.Selection sel.Search "Name=*,all" Dim i: for i = 1 to sel.Count MsgBox sel.Item(i).Value.Name Next Upvote 0 Downvote
Hi. It is possible. Code: Dim sel: set sel = CATIA.ActiveDocument.Selection sel.Search "Name=*,all" Dim i: for i = 1 to sel.Count MsgBox sel.Item(i).Value.Name Next
Apr 17, 2020 Thread starter #3 DomKum Automotive Joined Nov 27, 2005 Messages 23 Location IN Hey Cthulhu, thank you for your support. Its working fine. will it be possible to know by message which is the active Geometrical Set or Body active. Upvote 0 Downvote
Hey Cthulhu, thank you for your support. Its working fine. will it be possible to know by message which is the active Geometrical Set or Body active.