MecaTron101
Automotive
I'm trying to write a macro that can create a coordinate table for all the points making up a polyline. So far I've been able to export the coordinates of ordinary points to Excel.
However, polylines have proven difficult.
I found code for the polyline.getElement method, but how is the result stored? Array, variable...?
Dim HybShpPolylineElement As Reference
Dim HybShpPolylineRadius As Reference
HybShpPolyline.GetElement 1, HybShpPolylineElement,HybShpPolylineRadius
I'm a beginner when it comes to vba for Catia so I'm at a loss here.
However, polylines have proven difficult.
I found code for the polyline.getElement method, but how is the result stored? Array, variable...?
Dim HybShpPolylineElement As Reference
Dim HybShpPolylineRadius As Reference
HybShpPolyline.GetElement 1, HybShpPolylineElement,HybShpPolylineRadius
I'm a beginner when it comes to vba for Catia so I'm at a loss here.