I have a first selected item.
Then i perform a search-select-copy in the whole document, i copy, and i would like to paste in the first selection, but i cant find the metod
to recall the first selection.
Sub CATMain()
Dim objSel As Selection
Dim objSel2 As Selection
Set objSel2 =CATIA.ActiveDocument.Selection
Set objSel =CATIA.ActiveDocument.Selection
objSel.Search "name=*ITEMTOCOPY*,all"
objSel.Copy
End Sub
I NEED TO PASTE THE objSel in the objSel2
Sorry for the noob question !
Then i perform a search-select-copy in the whole document, i copy, and i would like to paste in the first selection, but i cant find the metod
to recall the first selection.
Sub CATMain()
Dim objSel As Selection
Dim objSel2 As Selection
Set objSel2 =CATIA.ActiveDocument.Selection
Set objSel =CATIA.ActiveDocument.Selection
objSel.Search "name=*ITEMTOCOPY*,all"
objSel.Copy
End Sub
I NEED TO PASTE THE objSel in the objSel2
Sorry for the noob question !