ZNodes Example
Sub Example_ZNodes() 'This example displays the number of Z nodes 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 Nodes is: " & grid.ZNodes.Count, vbInformation, "ZNodes Example" Else MsgBox "Not a 3D Layout Grid", vbExclamation, "ZNodes Example" End If
End Sub