Collapse All Expand All

PC-DMIS 2019 R1 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

AddBestFitFeat | Adds best fit feature to BF3D or BF2D alignments
AddLevelFeat | Adds level feature to iterative alignment
AddOriginFeat | Adds origin feature to iterative alignment
AddRotateFeat | Adds rotation feature to iterative alignment
CalculateDeviation | Returns deviation value and vector for a feature
CalculateDeviation2 | Returns theoretical, measured and deviations of input after alignment values
CalculateMatrices | Forces immediate calculation of alignment matrices
CalculateStatistics | Returns the mean and standard deviation
GetBFIterations | Returns the number of bestfit iterations
GetFeatureIdByIndex | Returns the feature id

# Public Properties

AboutAxis | Represents the axis about which the alignment object rotates.
Angle | Represents the offset angles of a 3D or 2D alignment.
AverageError | Represents whether or not error averaging is used during the iterative alignment.
AXIS | Represents the axis that the alignment object uses.
BFOffset | Represents the offsets of a 3D or 2D alignment.
CadToPartMatrix | Represents the matrix used to transform points between the cad and part alignment systems.
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.

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.

FeatID | Represents the first (or only) feature ID used by this alignment object.
FeatID2 | Represents the second feature ID used by this alignment object.
FindCad | Represents the FindCad property status of this best fit alignment object.
ID | Represents the ID of this alignment object.
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.
IterativeLevelAxis | Represents the level axis for an iterative alignment.
IterativeOriginAxis | Represents the origin axis for an iterative alignment.
IterativeRotateAxis | Represents the rotate axis for an iterative alignment.
MachineToPartMatrix | Represents the matrix used to transform points between the machine and part alignment systems.
MeasAllFeat | Represents the "Measure All Features" property of this iterative alignment object.
MeasAllFeatAlways | Represents the "Measure All Features Always" property of this iterative alignment object.
NumInputs | Returns the number of inputs to this alignment object. Read-only Long.
Offset | Represents the offset property of this offset alignment object.
Parent | Returns the parent Command object. Read-only.
PointTolerance | Represents the "Point Tolerance" property of this alignment object.
RepierceCad | Represents whether or not to repierce the cad model during the execution of this iterative alignment object.
UseBodyAxis | Represents whether or not to use the "Body Axis” method during the calculation of this iterative alignment object.
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

AlignCmnd Object

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