ObstructionsHeight Property
ObstructionsHeight returns or sets the obstructions/vegetation height for a viewshed layer. Returns a double.
Syntax
object.ObstructionsHeight
object.ObstructionsHeight = ObstructionsHeight
| 
                                                     Parameter  | 
                                                
                                                     Type  | 
                                                
                                                     Description  | 
                                            
| 
                                                     ObstructionsHeight  | 
                                                
                                                     Double  | 
                                                
                                                     required  | 
                                            
Remarks
The units of the ObstructionsHeight value are the same as the grid Z units.
Example 1
The following example demonstrates how to return the obstructions/vegetation height for the viewshed.
Debug.Print ViewshedLayer.ObstructionsHeight
Example 2
The following example demonstrates how to set the height of the obstructions/vegetation for the viewshed to 2.2.
ViewshedLayer.ObstructionsHeight = 2.2
Used by: ViewshedLayer Object