Collapse All Expand All

PC-DMIS 2019 R1 Object Library |
MaxMinAve Method
See Also Send Topic Feedback | See Object Hierarchy Chart

ID
  The string ID of the object to query.

in_vect
  Input vector.

out_max
  A reference to a double to hold the output maximum.

out_min
  A reference to a double to hold the output minimum.

out_ave
  A reference to a double to hold the output average.

PCDLRN ActiveX DLL > OldBasic Object : MaxMinAve Method

Glossary Item Box

# Description

Returns maximum, minimum, or average information for command of specified id

# Syntax

Visual Basic
    Public Function MaxMinAve( _
       ByVal ID As String, _
       ByVal in_vect As PointData, _
       ByRef out_max As Double, _
       ByRef out_min As Double, _
       ByRef out_ave As Double _
    ) As Long

# Parameters

ID
  The string ID of the object to query.
in_vect
  Input vector.
out_max
  A reference to a double to hold the output maximum.
out_min
  A reference to a double to hold the output minimum.
out_ave
  A reference to a double to hold the output average.

# Return Type

Long value. Non-zero if successful. Zero if the object with the given ID string cannot be found.

# Remarks

This function was added for the tutor translator, and should be used with caution.

# See Also

OldBasic Object | OldBasic Members

Copyright © 2019. Hexagon Manufacturing Intelligence – Metrology Software, Inc. All Rights Reserved.