PC-DMIS 2021.1 Object Library
CopyAutoFeatureInspectionPlannerSettingsIntoRegistryDefaultSettings Method
See Also  Example  Send Topic Feedback | See Object Hierarchy Chart
PCDLRN ActiveX DLL > PartProgram Object : CopyAutoFeatureInspectionPlannerSettingsIntoRegistryDefaultSettings Method

Glossary Item Box

Description

This method accesses the .ipd file that is specified in the Parameters File registry entry under the Planner section of the PC-DMIS Settings Editor. It then copies any inspection planner settings for auto features contained in that file and sets the equivalent PC-DMIS default registry entries to those settings.

Syntax

Visual Basic
Public Sub CopyAutoFeatureInspectionPlannerSettingsIntoRegistryDefaultSettings() 

Remarks

PC-DMIS calls this method behind the scenes whenever you click the Set As Default button under Default Parameters File Name in the Modify Default Parameters dialog box (Edit | Preferences | Inspection Plan Defaults).

Example

Example (Visual Basic)Copy Code
Sub Main
  Dim App As Object
  Set App = CreateObject ("PCDLRN.Application")
  Dim Part As Object
  Set Part = App.ActivePartProgram
  Part.CopyAutoFeatureInspectionPlannerSettingsIntoRegistryDefaultSettings
End Sub

See Also

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