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.
Visual Basic |
---|
Public Sub CopyAutoFeatureInspectionPlannerSettingsIntoRegistryDefaultSettings() |
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 (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 |