PC-DMIS 2019 R1 Object Library
PartPrograms Object Members
See Also  Overview  Send Topic Feedback | See Object Hierarchy Chart
PCDLRN ActiveX DLL : PartPrograms Object

Glossary Item Box

Public Methods

Public Method _Item 
Public Method AddThe 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.
Public Method CloseAllCloses and deactivates all active measurement routines in PC-DMIS.
Public Method CreateInspectionPlanCreates a new inspection plan with different CAD file name and adds it to the PartPrograms collection
Public Method CreateInspectionPlanFromPlanXmlCreates a new inspection plan with different CAD file name from a PlanXml file and adds it to the PartPrograms collection
Public Method CreateRoutineCreates a new measurement routine with different CAD file name and adds it to the PartPrograms collection
Public Method CreateRoutineFromInspectionPlanCreates a measurement routine from an inspection plan and then adds the routine as part of a PartPrograms collection.
Public Method ItemReturns a specific PartProgram object from the collection in the PartPrograms object.
Public Method OpenThe Open function activates the measurement routine stored in the file FileName. If the file does not exist, nothing happens.
Public Method OpenInspectionPlanOpens an inspection plan with different CAD file name and adds it to the PartPrograms collection
Public Method OpenRoutineOpens an existing measurement routine with different CAD file name and adds it to the PartPrograms collection
Public Method RemoveThe Remove function saves, closes, and deactivates the indicated measurement routine. That measurement routine is no longer active in PC-DMIS.

Public Properties

Public Property ApplicationRepresents 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.
Public Property CountReturns the number of measurement routines active in PC-DMIS.
Public Property ParentReturns the parent object, in this case the Application object.

See Also

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