Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.1 Object Library
PCDLRN ActiveX DLL > PartProgram Object : CopyAutoFeatureInspectionPlannerSettingsIntoRegistryDefaultSettings Method
CopyAutoFeatureInspectionPlannerSettingsIntoRegistryDefaultSettings Method
Description
This method accesses the .ipd file that is specified in the Parameters File settings 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 settings 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
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