iv_pointInDocumentView?()

Synopsis

Determines if a given model point is within a drawing view. The drawing view is specified by supplying the drawing document, the name of drawing sheet, and the name of drawing view. This function returns True if the point is slightly outside the drawing view, where the allowable deviation is specified in model units.

Syntax

iv_pointInDocumentView? ( doc As Part, _
                          sheetName As String, _
                          viewName As String, _
                          modelPt As Point, _
                          Optional tolerance As Number = 0.001 ) As Boolean 
Argument Type Description
doc part Inventor drawing document
sheetName string Name of drawing sheet
viewName string Name of drawing view
modelPt point point in model space
tolerance number Optional; allowed error, in model units; default is 0.001.