ViewUtilities Class

Various View utility methods

Methods

Name Description
constructor(): ViewUtilities    
getBisBaseClass(classFullName: string): string Static Extracts the BisBaseClass from a full class name.  
is3dView(viewport: ScreenViewport): boolean Static Determines if viewport displays a 3d view.  
isDrawing(classname: string): boolean Static Determines if given class is a drawing view.  
isDrawingView(viewport: ScreenViewport): boolean Static Determines if viewport displays a Drawing view.  
isOrthographic(classname: string): boolean Static Determines if given class is a spatial view.  
isOrthographicView(viewport: ScreenViewport): boolean Static Determines if viewport displays a Orthographic view.  
isSheet(classname: string): boolean Static Determines if given class is a sheet view.  
isSheetView(viewport: ScreenViewport): boolean Static Determines if viewport displays a Sheet view.  
isSpatial(classname: string): boolean Static Determines if given class is a spatial view.  
isSpatialView(viewport: ScreenViewport): boolean Static Determines if viewport displays a Spatial view.  
viewSupportsCamera(viewport: ScreenViewport): boolean Static Determines if viewport supports use of a camera.  

Defined in

Last Updated: 20 November, 2024