PC-DMIS 2022.1 Object Library
ImportPlanxml Method
See Also  Example  Send Topic Feedback | See Object Hierarchy Chart
xmlFileName
String value containing the full pathway of the .planxml file.
PCDLRN ActiveX DLL > PartProgram Object : ImportPlanxml Method

Glossary Item Box

Description

A .planxml file contains a measurement plan created from the Planner application. This is an xml file. You can import measurement plans into the measurement routine using this method.

Syntax

Visual Basic
Public Function ImportPlanxml( _
   ByVal xmlFileName As String _
) As XMLImport_StatusCode

Parameters

xmlFileName
String value containing the full pathway of the .planxml file.

Example

This example imports a .planxml file into the current measurement routine.
Example (Visual Basic)Copy Code
Dim DmisApp As Object
Dim DmisPart As Object

Sub Main
  Set DmisApp = CreateObject("PCDLRN.Application")
  Set DmisPart = DmisApp.ActivePartProgram

DmisPart.importPlanXML "D:\MyXMLFiles\test_xml.PlanXML"
  
Set DmisPart = Nothing
Set DmisApp = Nothing
  
End Sub

See Also

Copyright © 2022. Hexagon Manufacturing Intelligence – Metrology Software, Inc. All Rights Reserved.