ZStartOffset Example
Sub Example_ZStartOffset() 'This example displays the Z start offset for a 3D layout grid Dim obj As Object Dim pt As Variant Dim grid As AecLayoutGrid3D ThisDrawing.Utility.GetEntity obj, pt, "Select a 3D Layout Grid" If TypeOf obj Is AecLayoutGrid3D Then Set grid = obj MsgBox "Grid Z Start Offset is: " & grid.ZStartOffset, vbInformation, "ZStartOffset Example" Else MsgBox "Not a 3D Layout Grid", vbExclamation, "ZStartOffset Example" End If
End Sub