[MS CONNECT U14, vba] Unable to obtain vertices from a smartSolid (slab)

I am using vba inside of MicroStation CONNECT Edition and successfully created a simple rectangular slab. Now when I'm trying to get all the vertices, but IsVertexList is always False. Any help would be greatly appreciated.

   Dim mySSE As SmartSolidElement
  ' create a slab with center at 0,0,0
   Set mySSE = SmartSolid.CreateSlab(Nothing, 6, 12, 2)
   ActiveModelReference.AddElement mySSE2
   mySSE.Redraw

' this part below is where I try to get the vertices

  Dim vertices() As Point3d

   If mySSE.IsVertexList Then
         vertices = mySSE.GetVertices()
   End If

Parents Reply Children
No Data