Datum Features
This section describes the Web.Link methods and properties that provide read access to the properties of datum features.
Datum Plane Features
The properties of the Datum Plane feature are defined in the pfcDatumPlaneFeat data object.
Methods and Properties Introduced:
  • pfcDatumPlaneFeat.Flip
  • pfcDatumPlaneFeat.Constraints
  • pfcDatumPlaneConstraint.ConstraintType
  • pfcDatumPlaneThroughConstraint.ThroughRef
  • pfcDatumPlaneNormalConstraint.NormalRef
  • pfcDatumPlaneParallelConstraint.ParallelRef
  • pfcDatumPlaneTangentConstraint.TangentRef
  • pfcDatumPlaneOffsetConstraint.OffsetRef
  • pfcDatumPlaneOffsetConstraint.OffsetValue
  • pfcDatumPlaneOffsetCoordSysConstraint.CsysAxis
  • pfcDatumPlaneAngleConstraint.AngleRef
  • pfcDatumPlaneAngleConstraint.AngleValue
  • pfcDatumPlaneSectionConstraint.SectionRef
  • pfcDatumPlaneSectionConstraint.SectionIndex
  • The properties of the pfcDatumPlaneFeat object are described as follows:
    •  Flip—Specifies whether the datum plane was flipped during creation. Use the property pfcDatumPlaneFeat.Flip to determine if the datum plane was flipped during creation.
    •  Constraints—Specifies a collection of constraints given by the pfcDatumPlaneConstraint object. The property pfcDatumPlaneFeat.Constraints obtains the collection of constraints defined for the datum plane.
    Use the property pfcDatumPlaneConstraint.ConstraintType to obtain the type of constraint. The type of constraint is given by the pfcDatumPlaneConstraintType enumerated type. The available types are as follows:
    •  DTMPLN_THRU—Specifies the Through constraint. The pfcDatumPlaneThroughConstraint object specifies this constraint. Use the property pfcDatumPlaneThroughConstraint.ThroughRef to get the reference selection handle for the Through constraint.
    •  DTMPLN_NORM—Specifies the Normal constraint. The pfcDatumPlaneNormalConstraint object specifies this constraint. Use the property pfcDatumPlaneNormalConstraint.NormalRef to get the reference selection handle for the Normal constraint.
    •  DTMPLN_PRL—Specifies the Parallel constraint.
    The pfcDatumPlaneParallelConstraint object specifies this constraint. Use the property pfcDatumPlaneParallelConstraint.ParallelRef to get the reference selection handle for the Parallel constraint.
    •  DTMPLN_TANG—Specifies the Tangent constraint. The pfcDatumPlaneTangentConstraint object specifies this constraint. Use the property pfcDatumPlaneTangentConstraint.TangentRef to get the reference selection handle for the Tangent constraint.
    •  DTMPLN_OFFS—Specifies the Offset constraint. The pfcDatumPlaneOffsetConstraint object specifies this constraint. Use the property pfcDatumPlaneOffsetConstraint.OffsetRef to get the reference selection handle for the Offset constraint. Use the property pfcDatumPlaneOffsetConstraint.OffsetValue to get the offset value.
    An Offset constraint where the offset reference is a coordinate system is given by the pfcDatumPlaneOffsetCoordSysConstraint object. Use the property pfcDatumPlaneOffsetCoordSysConstraint.CsysAxis to get the reference coordinate axis.
    •  DTMPLN_ANG—Specifies the Angle constraint. The pfcDatumPlaneAngleConstraint object specifies this constraint. Use the property pfcDatumPlaneAngleConstraint.AngleRef to get the reference selection handle for the Angle constraint. Use the property pfcDatumPlaneAngleConstraint.AngleValue to get the angle value.
    •  DTMPLN_SEC—Specifies the Section constraint. The pfcDatumPlaneSectionConstraint object specifies this constraint. Use the property pfcDatumPlaneSectionConstraint.SectionRef to get the reference selection for the Section constraint. Use the property pfcDatumPlaneSectionConstraint.SectionIndex to get the section index.
    Datum Axis Features
    The properties of the Datum Axis feature are defined in the pfcDatumAxisFeat data object.
    Methods and Properties Introduced:
  • pfcDatumAxisFeat.Constraints
  • pfcDatumAxisConstraint.ConstraintType
  • pfcDatumAxisConstraint.ConstraintRef
  • pfcDatumAxisFeat.DimConstraints
  • pfcDatumAxisDimensionConstraint.DimOffset
  • pfcDatumAxisDimensionConstraint.DimRef
  • The properties of the pfcDatumAxisFeat object are described as follows:
    •  Constraints—Specifies a collection of constraints given by the pfcDatumAxisConstraint object. The property pfcDatumAxisFeat.Constraints obtains the collection of constraints applied to the Datum Axis feature.
    This object contains the following attributes:
      ConstraintType—Specifies the type of constraint in terms of the pfcDatumAxisConstraintType enumerated type. The constraint type determines the type of datum axis. The constraint types are:
      DTMAXIS_NORMAL—Specifies the Normal datum constraint.
      DTMAXIS_THRU—Specifies the Through datum constraint.
      DTMAXIS_TANGENT—Specifies the Tangent datum constraint.
      DTMAXIS_CENTER—Specifies the Center datum constraint.
    Use the property pfcDatumAxisConstraint.ConstraintType to get the constraint type.
      ConstraintRef—Specifies the reference selection for the constraint. Use the property pfcDatumAxisConstraint.ConstraintRef to get the reference selection handle.
    •  DimConstraints—Specifies a collection of dimension constraints given by the pfcDatumAxisDimensionConstraint object. The property pfcDatumAxisFeat.DimConstraints obtains the collection of dimension constraints applied to the Datum Axis feature.
    This pfcDatumAxisDimensionConstraint object contains the following attributes:
      DimOffset—Specifies the offset value for the dimension constraint. Use the property pfcDatumAxisDimensionConstraint.DimOffset to get the offset value.
      DimRef—Specifies the reference selection for the dimension constraint. Use the property pfcDatumAxisDimensionConstraint.DimRef to get the reference selection handle.
    General Datum Point Features
    The properties of the General Datum Point feature are defined in the pfcDatumPointFeat data object.
    Methods and Properties Introduced:
  • pfcDatumPointFeat.FeatName
  • pfcDatumPointFeat.GetPoints()
  • pfcGeneralDatumPoint.Name
  • pfcGeneralDatumPoint.PlaceConstraints
  • pfcGeneralDatumPoint.DimConstraints
  • pfcDatumPointConstraint.ConstraintRef
  • pfcDatumPointConstraint.ConstraintType
  • pfcDatumPointConstraint.Value
  • The properties of the pfcDatumPointFeat object are described as follows:
    •  FeatName—Specifies the name of the General Datum Point feature. Use the property pfcDatumPointFeat.FeatName to get the name.
    •  GeneralDatumPoints—Specifies a collection of general datum points given by the pfcGeneralDatumPoint object. Use the method pfcDatumPointFeat.GetPoints() to obtain the collection of general datum points. The pfcGeneralDatumPoint object consists of the following attributes:
      Name—Specifies the name of the general datum point. Use the property pfcGeneralDatumPoint.Name to get the name.
      PlaceConstraints—Specifies a collection of placement constraints given by the pfcDatumPointPlacementConstraint object. Use the property pfcGeneralDatumPoint.PlaceConstraints to obtain the collection of placement constraints.
      DimConstraints—Specifies a collection of dimension constraints given by the pfcDatumPointDimensionConstraint object. Use the property pfcGeneralDatumPoint.DimConstraints to obtain the collection of dimension constraints.
    The constraints for a datum point are given by the pfcDatumPointConstraint object. This object contains the following attributes:
    •  ConstraintRef—Specifies the reference selection for the datum point constraint. Use the property pfcDatumPointConstraint.ConstraintRef to get the reference selection handle.
    •  ConstraintType—Specifies the type of datum point constraint. in terms of the pfcDatumPointConstraintType enumerated type. Use the property pfcDatumPointConstraint.ConstraintType to get the constraint type.
    •  Value—Specifies the constraint reference value with respect to the datum point. Use the property pfcDatumPointConstraint.Value to get the value of the constraint reference with respect to the datum point.
    The pfcDatumPointPlacementConstraint and pfcDatumPointDimensionConstraint objects inherit from the pfcpfcDatumPointConstraint object. Use the methods of the pfcDatumPointConstraint object for the inherited objects.
    Datum Coordinate System Features
    The properties of the Datum Coordinate System feature are defined in the pfcCoordSysFeat object.
    Methods and Properties Introduced:
  • pfcCoordSysFeat.OriginConstraints
  • pfcDatumCsysOriginConstraint.OriginRef
  • pfcCoordSysFeat.DimensionConstraints
  • pfcDatumCsysDimensionConstraint.DimRef
  • pfcDatumCsysDimensionConstraint.DimValue
  • pfcDatumCsysDimensionConstraint.DimConstraintType
  • pfcCoordSysFeat.OrientationConstraints
  • pfcDatumCsysOrientMoveConstraint.OrientMoveConstraintType
  • pfcDatumCsysOrientMoveConstraint.OrientMoveValue
  • pfcCoordSysFeat.IsNormalToScreen
  • pfcCoordSysFeat.OffsetType
  • pfcCoordSysFeat.OnSurfaceType
  • pfcCoordSysFeat.OrientByMethod
  • The properties of the pfcCoordSysFeat object are described as follows:
    •  OriginConstraints—Specifies a collection of origin constraints given by the pfcDatumCsysOriginConstraint object. Use the property pfcCoordSysFeat.OriginConstraints to obtain the collection of origin constraints for the coordinate system. This object contains the following attribute:
      OriginRef—Specifies the selection reference for the origin. Use the property pfcDatumCsysOriginConstraint.OriginRef to get the selection reference handle.
    •  DimensionConstraints—Specifies a collection of dimension constraints given by the pfcDatumCsysDimensionConstraint object. Use the property pfcCoordSysFeat.DimensionConstraints to obtain the collection of dimension constraints for the coordinate system. This object contains the following attributes:
      DimRef—Specifies the reference selection for the dimension constraint. Use the property pfcDatumCsysDimensionConstraint.DimRef to get the reference selection handle.
      DimValue—Specifies the value of the reference. Use the property pfcDatumCsysDimensionConstraint.DimValue to get the value.
      DimConstraintType—Specifies the type of dimension constraint in terms of the pfcDatumCsysDimConstraintType enumerated type. Use the property pfcDatumCsysDimensionConstraint.DimConstraintType to get the constraint type. The constraint types are:
      DTMCSYS_DIM_OFFSET—Specifies the offset type constraint.
      DTMCSYS_DIM_ALIGN—Specifies the align type constraint.
    •  OrientationConstraints—Specifies a collection of orientation constraints given by the pfcDatumCsysOrientMoveConstraint object. Use the property pfcCoordSysFeat.OrientationConstraints to obtain the collection of orientation constraints for the coordinate system. This object contains the following attributes:
      OrientMoveConstraintType—Specifies the type of orientation for the constraint. The orientation type is given by the pfcDatumCsysOrientMoveConstraintType enumerated type. Use the property pfcDatumCsysOrientMoveConstraint.OrientMoveConstraintType to get the orientation type.
      OrientMoveValue—Specifies the reference value for the constraint. Use the property pfcDatumCsysOrientMoveConstraint.OrientMoveValue to get the reference value.
    •  IsNormalToScreen—Specifies if the coordinate system is normal to screen. Use the property pfcCoordSysFeat.IsNormalToScreen to determine if the coordinate system is normal to screen.
    •  OffsetType—Specifies the offset type of the coordinate system in terms of the pfcDatumCsysOffsetType enumerated type. Use the property pfcCoordSysFeat.OffsetType to get the offset type. The offset types are:
      DTMCSYS_OFFSET_CARTESIAN—Specifies a cartesian coordinate system that has been defined by setting the values for the DTMCSYS_MOVE_TRAN_X, DTMCSYS_MOVE_TRAN_Y, and DTMCSYS_MOVE_TRAN_Z or DTMCSYS_MOVE_ROT_X, DTMCSYS_MOVE_ROT_Y, and DTMCSYS_MOVE_ROT_Z orientation constants.
      DTMCSYS_OFFSET_CYLINDRICAL—Specifies a cylindrical coordinate system that has been defined by setting the values for the DTMCSYS_MOVE_RAD, DTMCSYS_MOVE_THETA, and DTMCSYS_MOVE_TRAN_ZI orientation constants.
      DTMCSYS_OFFSET_SPHERICAL—Specifies a spherical coordinate system that has been defined by setting the values for the DTMCSYS_MOVE_RAD, DTMCSYS_MOVE_THETA, and DTMCSYS_MOVE_TRAN_PHI orientation constants.
    •  OnSurfaceType—Specifies the on surface type for the coordinate system in terms of the pfcDatumCsysOffsetType enumerated type. Use the property pfcCoordSysFeat.OnSurfaceType to get the on surface type property of the coordinate system. The on surface types are:
      DTMCSYS_ONSURF_LINEAR—Specifies a coordinate system placed on the selected surface by using two linear dimensions.
      DTMCSYS_ONSURF_RADIAL—Specifies a coordinate system placed on the selected surface by using a linear dimension and an angular dimension. The radius value is used to specify the linear dimension.
      DTMCSYS_ONSURF_DIAMETER—This type is similar to the DTMCSYS_ONSURF_RADIAL type, except that the diameter value is used to specify the linear dimension. It is available only when planar surfaces are used as the reference.
    •  OrientByMethod—Specifies the orientation method in terms of the pfcDatumCsysOrientByMethod enumerated type. Use the property pfcCoordSysFeat.OrientByMethod to get the orientation method. The available orientation types are:
      DTMCSYS_ORIENT_BY_SEL_REFS—Specifies the orientation by selected references.
      DTMCSYS_ORIENT_BY_SEL_CSYS_AXES—Specifies the orientation by coordinate system axes.