Line Normal To Surface
Line Normal To Surface
Sub CATMain()
CATIA.DisplayFileAlerts = False
end if
'/////////////////////////////////////
Dim listOfTypes(1)
listOfTypes(1)="Point"
Dim myDocument
Set myDocument = CATIA.ActiveDocument
Dim number
number = mySelection.Count
'mySelection.EndSelectElement
number = mySelection.Count
hybridBody1.AppendHybridShape hybridShapeLineNormal1
part1.InWorkObject = hybridShapeLineNormal1
next
part1.Update
End Sub