IPCB_Dimension

www.kxcad.net Home > Electronic Index > Altium(Protel) Index


Your Ad Here

Overview

Dimension objects are used for dimensional details of a PCB board in either imperial or metric units and can be placed on any layer.  To create an original Dimension objects, use the IPCB_OriginalDimension class which is used in P99SE and earlier versions.

Protel DXP introduced several new dimension styles - Linear, Angular, Radial, Leader, Datum, Baseline, Center, Linear Diameter and Radial Diameter objects

The IPCB_Dimension interface is the ancestor interface for IPCB_OriginalDimension, IPCB_LinearDImension, IPCB_AngularDimension, IPCB_RadialDimension, IPCB_LeaderDimension, IPCB_DatumDimension, IPCB_BaselineDimension, IPCB_CenterDimension, IPCB_LinearDiameterDimension, IPCB_RadialDiameterDimension interfaces.

Important Notes

IPCB_Dimension Methods

Procedure MoveTextByXY                    (AX,

                                           AY    : TCoord);                       

Procedure MoveTextToXY                    (AX,

                                           AY    : TCoord);                       

Procedure RotateAroundXY                  (AX,

                                           AY    : TCoord;

                                           Angle : TAngle);                       

Procedure References_Add                  (R     : TDimensionReference);          

Procedure References_Delete               (Index : Integer);                      

Procedure References_DeleteLast;                                                  

Function  References_IndexOf              (P     : IPCB_Primitive;

                                           Index : Integer)             : Integer;

Function  References_Validate                                           : Boolean;

IPCB_Dimension Properties

DimensionKind                     : TDimensionKind          

TextX                             : TCoord                  

TextY                             : TCoord                  

X1Location                        : TCoord                  

Y1Location                        : TCoord                  

Size                              : TCoord                  

LineWidth                         : TCoord                  

TextHeight                        : TCoord                  

TextWidth                         : TCoord                  

TextFont                          : TFontID                 

TextLineWidth                     : TCoord                  

TextPosition                      : TDimensionTextPosition  

TextGap                           : TCoord                  

TextFormat                        : TString                 

TextDimensionUnit                 : TDimensionUnit          

TextPrecision                     : Integer                 

TextPrefix                        : TString                 

TextSuffix                        : TString                 

TextValue                         : TReal                   

ArrowSize                         : TCoord                  

ArrowLineWidth                    : TCoord                  

ArrowLength                       : TCoord                  

ArrowPosition                     : TDimensionArrowPosition

ExtensionOffset                   : TCoord                  

ExtensionLineWidth                : TCoord                  

ExtensionPickGap                  : TCoord                  

Style                             : TUnitStyle              

References [I : Integer]          : TDimensionReference     

References_Count                  : Integer                 // Read only

See also

IPCB_Primitive interface

TDimensionTextPosition enumerated values

TDimensionUnit enumerated values

TDimensionArrowPosition enumerated values

TDimensionReference enumerated values

TUnitStyle enumerated values

PCB Design Objects

Your Ad Here