Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.2 Object Library
PCDLRN ActiveX DLL > PartProgram Object : MarkNewAlignmentMode Property
MarkNewAlignmentMode Property
Description
This property enables or disables the New Alignment Mode menu option in PC-DMIS and by doing so it determines whether or not the alignment associated with marked feature or dimensions is also marked for execution.
Property type
Read-write property
Syntax
Visual Basic
Public Property MarkNewAlignmentMode As Long
Return Type

Long value of either 0 or 1:

  • 0 = SAMEALIGN. This clears the alignment data so it isn't measured during execution. It uses the existing alignment. 
  • 1 = NEWALIGN. A new alignment will need to be created by remeasuring the alignment features. This marks the alignment data for execution.

Alternately, you can use a corresponding ENUM_MARK_NEW_ALIGNMENT_MODE enumeration.

Example
See MarkChildMode for an example. It shows the SAMEALIGN and NEWALIGN enumerations.
See Also