Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.1 Object Library
Overview 
PCDLRN ActiveX DLL : AlignCmnd Object
AlignCmnd Object Members
Public Methods
Adds best fit feature to BF3D or BF2D alignments
Adds level feature to iterative alignment
Adds origin feature to iterative alignment
Adds rotation feature to iterative alignment
Returns deviation value and vector for a feature
Returns theoretical, measured and deviations of input after alignment values
Forces immediate calculation of alignment matrices
Returns the mean and standard deviation
Returns the number of bestfit iterations
Returns the feature id
Public Properties
Represents the axis about which the alignment object rotates.

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

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

Represents the axis that the alignment object uses.
Represents the offsets of a 3D or 2D alignment.

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

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.

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.
Represents the first (or only) feature ID used by this alignment object.
Represents the second feature ID used by this alignment object.
Represents the FindCad property status of this best fit alignment object.
Represents the ID of this alignment object.

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.

Represents the level axis for an iterative alignment.
Represents the origin axis for an iterative alignment.
Represents the rotate axis for an iterative alignment.

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

 

Represents the "Measure All Features" property of this iterative alignment object.
Represents the "Measure All Features Always" property of this iterative alignment object.

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

Represents the offset property of this offset alignment object.

Returns the parent Command object. Read-only.

 

Represents the "Point Tolerance" property of this alignment object.
Represents whether or not to repierce the cad model during the execution of this iterative alignment object.
Represents whether or not to use the "Body Axis” method during the calculation of this iterative alignment object.

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