GielduGieldu
Mechanical
- Jul 17, 2016
- 2
Hi!
I'm would like to read face details (i.e. face vector, and the origin for that vector). Despite many tyrings, I still don't have the solution.
My latest idea is to use the Face object as is thas the methods get:
Sub CATMain()
Set objSel = CATIA.ActiveDocument.Selection
objSel.Search ("Type=Face,all")
Dim SingleFace As Face
For i = 1 To objSel.Count
Next
End Sub
Do you now how to read the data of the face/plane? The required data are stored in Plane object and are accessible through the methods GetFirstAxis and GetPosition.
Regards,
Janusz
I'm would like to read face details (i.e. face vector, and the origin for that vector). Despite many tyrings, I still don't have the solution.
My latest idea is to use the Face object as is thas the methods get:
Sub CATMain()
Set objSel = CATIA.ActiveDocument.Selection
objSel.Search ("Type=Face,all")
Dim SingleFace As Face
For i = 1 To objSel.Count
Dim oSel As objSel.Item(i)
'?????? What to do furhter??Next
End Sub
Do you now how to read the data of the face/plane? The required data are stored in Plane object and are accessible through the methods GetFirstAxis and GetPosition.
Regards,
Janusz