Hi there.
I am new to the forum although i already used some tips I found in it thanks to google. But today I need something I didn't found. Hope someone can help me.
What I need is to write a macro to export geometric objects of an active sketch in excel. For example something kind of like this :
Set MyPart = CATIA.ActiveDocument.Part
Set MySketch = MyPart.ActiveSketch
For Each item in MySketch
'get points and lines coordinates
next
I have difficulties to find it out by myself since I am not an advance CATVBA user.
Thanks to anyone that would try to help.
Victor
I am new to the forum although i already used some tips I found in it thanks to google. But today I need something I didn't found. Hope someone can help me.
What I need is to write a macro to export geometric objects of an active sketch in excel. For example something kind of like this :
Set MyPart = CATIA.ActiveDocument.Part
Set MySketch = MyPart.ActiveSketch
For Each item in MySketch
'get points and lines coordinates
next
I have difficulties to find it out by myself since I am not an advance CATVBA user.
Thanks to anyone that would try to help.
Victor