Hello,
I have problem with executing the following CATIA-Macro:
http://catiadoc.free.fr/online/CAAScdSch…tween2Equip.htm
this is the error message:
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.
I have problem with executing the following CATIA-Macro:
http://catiadoc.free.fr/online/CAAScdSch…tween2Equip.htm
this is the error message:
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.