PC-Dmis 2010 MR3 Object Library | Send comments on this topic. | See Object Hierarchy Chart
StartDim Method
See Also

Collapse All Expand All

dtype

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
  Only needed for dimensions using an axis or workplane.

Length
  Extended length for angularity, profile, perpendicularity, or parallelism.

Angle
  Angle for angularity.

flags
  Use OR for multiple values. For example, PCD_ADD_RADIUS Or PCD_PAR_TO.

# 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

  Value | Description
  --- | ---
  DIM__LOCATION |
  DIM__STRAIGHTNESS |
  DIM__ROUNDNESS |
  DIM__FLATNESS |
  DIM__PERPENDICULARITY |
  DIM__PARALLELISM |
  DIM__PROFILE |
  DIM__3D_DISTANCE |
  DIM__2D_DISTANCE |
  DIM__3D_ANGLE |
  DIM__2D_ANGLE |
  DIM__RUNOUT |
  DIM__CONCENTRICITY |
  DIM__ANGULARITY |
  DIM__KEYIN |
  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

  Value | Description
  --- | ---
  PCD_ZAXIS |
  PCD_XAXIS |
  PCD_YAXIS |

  Only needed for dimensions using an axis or workplane.
Length
  Extended length for angularity, profile, perpendicularity, or parallelism.
Angle
  Angle for angularity.
flags

  Value | Description
  --- | ---
  PCD_NO_RADIUS |
  PCD_ADD_RADIUS |
  PCD_SUB_RADIUS |
  PCD_RFS_RFS |
  PCD_RFS_MMC |
  PCD_RFS_LMC |
  PCD_MMC_RFS |
  PCD_MMC_MMC |
  PCD_MMC_LMC |
  PCD_LMC_RFS |
  PCD_LMC_MMC |
  PCD_LMC_LMC |
  PCD_PERP_TO |
  PCD_PAR_TO |
  PCD_RECALC_NOMS |

  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

OldBasic Object

© Wilcox Associates, Inc. All Rights Reserved.

© 2010 All Rights Reserved.