Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.2 Object Library
PCDLRN ActiveX DLL > OldBasic Object : BestFit2D Method
The number of features to use to create the best fit alignment. There must be a corresponding number of calls to Feature before the call to EndAlign.
This parameter specifies the workplane of the 2D alignment. Options come from the WPLANETYPE enumeration. These include PCD_TOP, PCD_BOTTOM, PCD_FRONT, PCD_BACK, PCD_LEFT, or PCD_RIGHT.
BestFit2D Method
Description
Creates a best fit 2d alignment
Syntax
Visual Basic
Public Sub BestFit2D( _
   ByVal num_inputs As Long, _
   ByVal Workplane As WPLANETYPE _
) 
Parameters
num_inputs
The number of features to use to create the best fit alignment. There must be a corresponding number of calls to Feature before the call to EndAlign.
Workplane
ValueDescription
PCD_BACK 
PCD_BOTTOM 
PCD_FRONT 
PCD_LEFT 
PCD_RIGHT 
PCD_TOP 
This parameter specifies the workplane of the 2D alignment. Options come from the WPLANETYPE enumeration. These include PCD_TOP, PCD_BOTTOM, PCD_FRONT, PCD_BACK, PCD_LEFT, or PCD_RIGHT.
See Also