PC-DMIS 2022.1 Object Library
AlignCmnd Object Members
See Also  Overview  Send Topic Feedback | See Object Hierarchy Chart
PCDLRN ActiveX DLL : AlignCmnd Object

Glossary Item Box

Public Methods

Public Method AddBestFitFeatAdds best fit feature to BF3D or BF2D alignments
Public Method AddLevelFeatAdds level feature to iterative alignment
Public Method AddOriginFeatAdds origin feature to iterative alignment
Public Method AddRotateFeatAdds rotation feature to iterative alignment
Public Method CalculateDeviationReturns deviation value and vector for a feature
Public Method CalculateDeviation2Returns theoretical, measured and deviations of input after alignment values
Public Method CalculateMatricesForces immediate calculation of alignment matrices
Public Method CalculateStatisticsReturns the mean and standard deviation
Public Method GetBFIterationsReturns the number of bestfit iterations
Public Method GetFeatureIdByIndexReturns the feature id

Public Properties

Public Property AboutAxisRepresents the axis about which the alignment object rotates.
Public Property Angle

Represents the offset angles of a 3D or 2D alignment.

Public Property AverageError

Represents whether or not error averaging is used during the iterative alignment.

Public Property AXISRepresents the axis that the alignment object uses.
Public Property BFOffsetRepresents the offsets of a 3D or 2D alignment.
Public Property CadToPartMatrix

Represents the matrix used to transform points between the cad and part alignment systems.

Public Property ExternalFileID

Represents the external filename for recalling external alignments.

  • For objects of type SAVE_ALIGN, it should include a ‘.aln’ extension and can include the fully qualified directory path. If it does not, indicates the alignment file should be written to the PC-DMIS default recall directory.
  • For objects of type RECALL_ALIGN set to recall an external alignment file, it should be only the filename, without a directory path or an extension.

Note: for releases prior to 2012, the required format is

<filename>:<ExternalID>

For example, if you create a SAVE_ALIGN object with ExternalFileID = “A2saved.aln” and ExternalID = “A2”, you would specify the RECALL_ALIGN object ExternalFileID as “A2saved:A2”.

This property should not be set if recalling an internal alignment.

Public Property ExternalID

Represents the external ID.

  • For objects of type SAVE_ALIGN, it should be the name of the alignment being saved to a file. For example, if you are saving alignment ‘A2’ to a file, set ExternalID to “A2”.
  • For objects of type RECALL_ALIGN set to recall an external alignment file, ExternalID should be set to “External”.

Note: for releases prior to 2012, the required value is whatever the corresponding SAVE_ALIGN object ExternalID was set to, for example “A2”.

  • For objects of type RECALL_ALIGN set to recall an internal alignment, this property should be set to the name of the internal alignment being recalled.
Public Property FeatIDRepresents the first (or only) feature ID used by this alignment object.
Public Property FeatID2Represents the second feature ID used by this alignment object.
Public Property FindCadRepresents the FindCad property status of this best fit alignment object.
Public Property IDRepresents the ID of this alignment object.
Public Property InitID

Represents the intial ID of this alignment object. The intial ID is the ID of the alignment to recall before modifying it with this alignment.

Public Property IterativeLevelAxisRepresents the level axis for an iterative alignment.
Public Property IterativeOriginAxisRepresents the origin axis for an iterative alignment.
Public Property IterativeRotateAxisRepresents the rotate axis for an iterative alignment.
Public Property MachineToPartMatrix

Represents the matrix used to transform points between the machine and part alignment systems.

 

Public Property MeasAllFeatRepresents the "Measure All Features" property of this iterative alignment object.
Public Property MeasAllFeatAlwaysRepresents the "Measure All Features Always" property of this iterative alignment object.
Public Property NumInputs

Returns the number of inputs to this alignment object. Read-only Long.

Public Property OffsetRepresents the offset property of this offset alignment object.
Public Property Parent

Returns the parent Command object. Read-only.

 

Public Property PointToleranceRepresents the "Point Tolerance" property of this alignment object.
Public Property RepierceCadRepresents whether or not to repierce the cad model during the execution of this iterative alignment object.
Public Property UseBodyAxisRepresents whether or not to use the "Body Axis” method during the calculation of this iterative alignment object.
Public Property Workplane

Represents the workplane of this alignment object. It can take the values PCD_XPLUS, PCD_XMINUS, PCD_YPLUS, PCD_YMINUS, PCD_ZPLUS, and PCD_ZMINUS.

See Also

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