Linetype property example

  
Sub Linetype_Example()
'This example returns the Linetype property.
    Dim ents As Object
    Dim ent As Object
    Dim ct As Long
    Set ents = ThisDrawing.ModelSpace
    ct = ents.count
    Set ent = ents.Item(ct - 1)
    MsgBox "The Linetype property for the last entity is: " & ent.Linetype
End Sub

 


© Bricsys NV. All rights reserved.