Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.2 Object Library
PCDLRN ActiveX DLL > OldBasic Object : StartDim Method
ID string of the dimension to create.
ID string of the Of Feature or From Feature.
ID string of the To Feature.
ID string of the third feature, if any.
Only needed for dimensions using an axis or workplane.
Extended length for angularity, profile, perpendicularity, or parallelism.
Angle for angularity.
Use OR for multiple values.  For example, PCD_ADD_RADIUS Or PCD_PAR_TO.
StartDim Method
Description
Starts Dimension block and sets dimension parameters
Syntax
Visual Basic
Public Sub StartDim( _
   ByVal dtype As PCDDIMTYPES, _
   ByVal ID As String, _
   ByVal Feat1 As String, _
   ByVal Feat2 As String, _
   ByVal Feat3 As String, _
   ByVal AXIS As PAXISTYPE, _
   ByVal Length As Double, _
   ByVal Angle As Double, _
   ByVal flags As PCDSTARTDIMFLAGS _
) 
Parameters
dtype
ValueDescription
DIM__2D_ANGLE 
DIM__2D_DISTANCE 
DIM__3D_ANGLE 
DIM__3D_DISTANCE 
DIM__ANGULARITY 
DIM__CONCENTRICITY 
DIM__FLATNESS 
DIM__KEYIN 
DIM__LOCATION 
DIM__PARALLELISM 
DIM__PERPENDICULARITY 
DIM__PROFILE 
DIM__ROUNDNESS 
DIM__RUNOUT 
DIM__STRAIGHTNESS 
DIM__TRUE_POSITION 
ID
ID string of the dimension to create.
Feat1
ID string of the Of Feature or From Feature.
Feat2
ID string of the To Feature.
Feat3
ID string of the third feature, if any.
AXIS
ValueDescription
PCD_XAXISMirrors the virtual machine's X axis.
PCD_YAXISMirrors the virtual machine's Y axis.
PCD_ZAXISMirrors the virtual machine's Z axis.
Only needed for dimensions using an axis or workplane.
Length
Extended length for angularity, profile, perpendicularity, or parallelism.
Angle
Angle for angularity.
flags
ValueDescription
PCD_ADD_RADIUS 
PCD_LMC_LMC 
PCD_LMC_MMC 
PCD_LMC_RFS 
PCD_MMC_LMC 
PCD_MMC_MMC 
PCD_MMC_RFS 
PCD_NO_RADIUS 
PCD_PAR_TO 
PCD_PERP_TO 
PCD_RECALC_NOMS 
PCD_RFS_LMC 
PCD_RFS_MMC 
PCD_RFS_RFS 
PCD_SUB_RADIUS 
Use OR for multiple values.  For example, PCD_ADD_RADIUS Or PCD_PAR_TO.
Remarks

The datum computation type comes first. For example, PCD_RFS_LMC specifies RFS for the datum and LMC for the feature.

See Also