Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

CATIA-Documentation-Macro

Artiste

New member
Hello,
I have problem with executing the following CATIA-Macro:

http://catiadoc.free.fr/online/CAAScdSch…tween2Equip.htm

this is the error message:

1291370517272.gif


In English: the GetTechnicalObject method failed
this is the part of code where i call this method:

Dim objPrdRoot As Product
Dim objSchRoot As SchematicRoot
If ( Not ( objSchDoc Is Nothing ) ) Then
Set objPrdRoot = objSchDoc.Product
If ( Not ( objPrdRoot Is Nothing ) ) Then
Set objSchRoot = objPrdRoot.GetTechnologicalObject("SchematicRoot")
End If
End If
Is there any way overcome such a situation.
 

Sponsor

Articles From 3DCAD World

Back
Top