какую функцию использовать, чтобы подрезать линию 2Д?
Спасибо.
Sub CATMain()
Dim drawingDocument1 As DrawingDocument
Set drawingDocument1 = CATIA.ActiveDocument
Dim selection1 As Selection
Set selection1 = drawingDocument1.Selection
selection1.Search "CATDrwSearch.2DLine.Name='Line.2',all"
'Set line2 = selection1.Item(1).Value
'selection1.Search "CATDrwSearch.2DLine.Name='Line.1',all"
'MsgBox selection1.Count
CATIA.StartCommand "Break" '"Quick Trim"
selection1.Search "CATDrwSearch.2DLine.Name='Line.1',all"
'MsgBox "jjjjjjjj"
'selection1.Clear
'selection1.Add (line2)
End Sub
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 5