Grouped object - Convert multiple Outlines to Curves?

Is there a trick to convert outlines to curves on a  grouped object  with many outlines without selecting every individual out line>convert outline to curves?

Parents
  • have macro for that

    here are 2 codes I got from the Forum. I tested it on Corel 2020 and it is working, but it differs from each other.
    If you don't know how to use it, tell me that I will give you the macro file in gms.

    Sub AllOutlinesToObjects()

    Dim sr As ShapeRange, sh As Shape

    Set sr = ActivePage.Shapes.All
    For Each sh In sr
    If Not sh.Outline.Type = cdrNoOutline Then
    sh.Outline.ConvertToObject
    End If
    Next

    End Sub

    ___________________________________________________________________________________________


    Sub ConvertOutlinesToObjects()
    Dim p As Page
    Dim s As Shape, sr As ShapeRange

    If ActiveSelection.Shapes.Count = 0 Then
    Set sr = ActivePage.Shapes.FindShapes
    Else
    Set sr = ActiveSelection.Shapes.FindShapes
    End If
    For Each s In sr
    If s.IsSimpleShape Then
    If s.Outline.Width > 0 Then
    s.Outline.ConvertToObject
    End If
    End If
    Next s
    End Sub

Reply Children