Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.1 Object Library
PCDLRN ActiveX DLL > Application Object : PartProgramMirror2 Method
PartProgramMirror2 Method
Description
Mirrors the supplied measurement routine. The szPartProgramPathName, szTargetProgramPathName and szReferencePathName should be full path name. If szTargetProgramPathName is empty the default name is used. if DoNotMirrorCAD is true the CAD is not mirrored
Syntax
Visual Basic
Public Function PartProgramMirror2( _
   ByVal szPartProgramPathName As String, _
   ByVal szTargetProgramPathName As String, _
   ByVal szReferencePathName As String, _
   ByVal PartMirrorAxix As PAXISTYPE, _
   ByVal ReporingMirrorOption As RPT_MIRROR_OPT, _
   ByVal MachineMirrorAxis As PAXISTYPE, _
   ByVal DoNotMirrorCAD As Boolean _
) As Boolean
Parameters
szPartProgramPathName
szTargetProgramPathName
szReferencePathName
PartMirrorAxix
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.
ReporingMirrorOption
ValueDescription
RPT_MIRROR_HORIZONTALMirrors CAD images horizontally.
RPT_MIRROR_NONEDoes not mirror CAD images at all.
RPT_MIRROR_VERTICALMirrors CAD images vertically.
MachineMirrorAxis
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.
DoNotMirrorCAD
See Also