Camille1
Aerospace
- Mar 25, 2005
- 12
I tried to do colision detection between two parts by using vb, but I could not get it to work .Can someone help me with this? Below is part of script
dim productdocument1 as Productdocument
set productdocument1 = CATIA.ActiveDocument
dim products1 as Products
set products1 = productdocument1.product.products
dim group1 as Group
group1.AddExplicit products1.item(1)
dim group2 as Group
group2.AddExplicit products1.item(2)
dim clash1 As Clash
set clash1 = Clash.Compute(group1, group2)
dim productdocument1 as Productdocument
set productdocument1 = CATIA.ActiveDocument
dim products1 as Products
set products1 = productdocument1.product.products
dim group1 as Group
group1.AddExplicit products1.item(1)
dim group2 as Group
group2.AddExplicit products1.item(2)
dim clash1 As Clash
set clash1 = Clash.Compute(group1, group2)