PartPrograms Object Members
Public Methods
_Item | |
Add | 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. |
CloseAll | Closes and deactivates all active measurement routines in PC-DMIS. |
CreateInspectionPlan | Creates a new inspection plan with different CAD file name and adds it to the PartPrograms collection |
CreateInspectionPlanFromPlanXml | Creates a new inspection plan with different CAD file name from a PlanXml file and adds it to the PartPrograms collection |
CreateRoutine | Creates a new measurement routine with different CAD file name and adds it to the PartPrograms collection |
CreateRoutineFromInspectionPlan | Creates a measurement routine from an inspection plan and then adds the routine as part of a PartPrograms collection. |
GetMarkedSetInfoList | Gets the existing MarkSet Collection |
GetMiniRoutineInfoList | Gets the existing mini routines Collection |
Item | Returns a specific PartProgram object from the collection in the PartPrograms object. |
MigrateRoutine | Migrate an existing measurement routine |
Open | The Open function activates the measurement routine stored in the file FileName. If the file does not exist, nothing happens. |
OpenEx | 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. |
OpenInspectionPlan | Opens an inspection plan with different CAD file name and adds it to the PartPrograms collection |
OpenRoutine | This behaves the same as the Open method, except that you can define what CAD file to load. |
OpenRoutineEx | This behaves the same as the OpenEx method, except that you can define what CAD file to load. |
Remove | The Remove function saves, closes, and deactivates the indicated measurement routine. That measurement routine is no longer active in PC-DMIS. |
Public Properties
Application | 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. |
Count | Returns the number of measurement routines active in PC-DMIS. |
Parent | Returns the parent object, in this case the Application object. |
See Also