Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.1 Object Library
Overview 
PCDLRN ActiveX DLL : PartPrograms Object
PartPrograms Object Members
Public Methods
 
The Add function creates a new measurement routine and activates it in PC-DMIS. If a measurement routine named FileName exists, it is loaded and the Units parameter is ignored.
Closes and deactivates all active measurement routines in PC-DMIS.
Creates a new inspection plan with different CAD file name and adds it to the PartPrograms collection
Creates a new inspection plan with different CAD file name from a PlanXml file and adds it to the PartPrograms collection
Creates a new measurement routine with different CAD file name and adds it to the PartPrograms collection
Creates a measurement routine from an inspection plan and then adds the routine as part of a PartPrograms collection.
Gets the existing MarkSet Collection
Gets the existing mini routines Collection
Returns a specific PartProgram object from the collection in the PartPrograms object.
Migrate an existing measurement routine
The Open function activates the measurement routine stored in the file FileName. If the file does not exist, nothing happens.

This function opens a measurement routine and adds it to the PartPrograms collection.

This method differs from the Open method because it includes some additional parameters: IncludeCAD and OpenRoutineStatus * out_StatusCode

The IncludeCAD parameter corresponds to the Include CAD checkbox on the Open dialog box in PC-DMIS.

Opens an inspection plan with different CAD file name and adds it to the PartPrograms collection
This behaves the same as the Open method, except that you can define what CAD file to load.
This behaves the same as the OpenEx method, except that you can define what CAD file to load.
The Remove function saves, closes, and deactivates the indicated measurement routine. That measurement routine is no longer active in PC-DMIS.
Public Properties
Represents the read-only PC-DMIS application. The Application object includes properties and methods that return top-level objects. For example, the ActivePartProgram property returns a PartProgram object.
Returns the number of measurement routines active in PC-DMIS.
Returns the parent object, in this case the Application object.
See Also