nothingid
Mechanical
- Oct 11, 2014
- 19
hi,
I have problem coding the catvba below
so,how to fix this problem?
it seems that oProduct.Part goes wrong,
neither oDocument.Part can work
anyone has solution to this?
please help!
thanks
I have problem coding the catvba below
Code:
Dim oDocument As Document
Set oDocument = CATIA.ActiveDocument
Dim oProduct As Product
Set oProduct = oDocument.Product
Dim oPart As Part
Set oPart = oProduct.Part
Dim oPoint As Point
Set oPoint = oPart.FindObjectByName(Name)
so,how to fix this problem?
it seems that oProduct.Part goes wrong,
neither oDocument.Part can work
anyone has solution to this?
please help!
thanks