pCon.planner Plugin SDK  Version 8.9
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events
Public Member Functions | Properties | List of all members
X3g::Plugin::DbRotatedDimension Class Reference

A length dimension with a dimension line rotated to measuring points. More...

Inheritance diagram for X3g::Plugin::DbRotatedDimension:
Inheritance graph
[legend]

Public Member Functions

 DbRotatedDimension (Layout::Page^ pPage)
 Create a DbRotatedDimension on the given page. More...
 
 DbRotatedDimension (Block^ pOwner)
 Create a DbRotatedDimension as child of the given block. More...
 
IList< DbEntity^ >^ GetXLine1Refs ()
 Returns a list of references for the first measuring point. More...
 
void SetXLine1Refs (IEnumerable< DbEntity^ >^pRefs)
 Set references for the first measuring points. More...
 
IList< DbEntity^ >^ GetXLine2Refs ()
 Returns a list of references for the second measuring point. More...
 
void SetXLine2Refs (IEnumerable< DbEntity^ >^pRefs)
 Set references for the second measuring point. More...
 
- Public Member Functions inherited from X3g::Plugin::DbDimension
void ResetProperties ()
 Reset all overridden properties to the values of the dimension style. More...
 
- Public Member Functions inherited from X3g::Plugin::DbEntity
GeMatrixGetTextureMatrix ()
 The texture matrix determines how to map the material texture to the entity. More...
 
void SetTextureMatrix (GeMatrix^ pMatrix)
 Sets the texture matrix. More...
 
bool TransformBy (GeMatrix^ pTransform)
 Transforms the entity. More...
 
GeMatrixGetTransientTransform ()
 Returns transient transformation of this entity. More...
 
void SetTransientTransform (GeMatrix^ pTransform)
 Sets the transient transformation of this entity. More...
 
void UpdateGeometry ()
 Updates the geometry of the entity. More...
 
void Delete ()
 Deletes the entity from the document. More...
 
GeBoundingBox3dGetBoundingBox (GeMatrix^ pTransform)
 Returns bounding box of entity within the owning blocks local coordinate system. More...
 
IPropertyProvider^ GetPropertyProvider ()
 Returns property provider of the entity. More...
 
DbEntityClone (Block^ pOwner)
 Creates a clone of the entity. More...
 
DbEntityCut2 (DbEntity^ pEntity)
 Subtracts pEntity from this object. More...
 
DbEntityCut2 (DbEntity^ pEntity, Block^ pToOwner)
 Subtracts pEntity from this object. More...
 
DbEntityCommon2 (DbEntity^ pEntity)
 Computes an object which represents all common geometry of this entity and pEntity. More...
 
DbEntityCommon2 (DbEntity^ pEntity, Block^ pToOwner)
 Computes an object which represents all common geometry of this entity and pEntity. More...
 
DbEntityFuse2 (DbEntity^ pEntity)
 Computes an object by merging all geometry of this entity and pEntity. More...
 
DbEntityFuse2 (DbEntity^ pEntity, Block^ pToOwner)
 Computes an object by merging all geometry of this entity and pEntity. More...
 
List< DbEntity^ >^ Slice (GePlane^ pPlane, bool pKeepBothHalves)
 Slice the DbEntity with the plane. More...
 
DbEntityPartialMove (GePlane^ pPlane, double pLength)
 Strech or shrink the DbEntity at the given plane. More...
 
void AddCallbacks (DbEntityCallbacks^ pCallbacks)
 Add callbacks to the entity. More...
 
void RemoveCallbacks (DbEntityCallbacks^ pCallbacks)
 Remove callbacks from entity. More...
 

Properties

GeVec3d XLine1Point [get, set]
 First measuring point and start point of the first extension line. More...
 
GeVec3d XLine2Point [get, set]
 Second measuring point and start point of the second extension line. More...
 
GeVec3d DimensionLinePoint [get, set]
 A point of the dimension line. More...
 
double DimensionLineRotation [get, set]
 Specifies the dimension line rotation to local X-Axis in radians. More...
 
double BaseOffset [get, set]
 Specifies the distance of reference points to extension lines. More...
 
double ExtensionLineLength [get, set]
 Specifies the length of extension line beyond dimension line. More...
 
double ScaleFactor [get, set]
 Specifies the distance multiplier for measurement. More...
 
LengthUnit Unit [get, set]
 Specifies the unit for measurement. More...
 
- Properties inherited from X3g::Plugin::DbDimension
GeVec3d Normal [get, set]
 Normal of this Dimension. More...
 
double Elevation [get, set]
 Distance from WCS origin to the plane of this dimension in normal direction. More...
 
double Scale [get, set]
 Scale factor applied to all sizes, offset and distance variables of this dimension. More...
 
DimensionStyle^  Style [get, set]
 Specifies the style of this dimension. More...
 
bool AlwaysShowDimensionLine [get, set]
 If true a dimension line between extension lines will also be drawn if the text is outside the dimension lines. More...
 
ArrowHeadType ArrowHead [get, set]
 Specifies the type of arrow head at the end of dimension lines. More...
 
double ArrowSize [get, set]
 Specifies the size of arrow heads. More...
 
DimensionTextHAlignment TextHorizontalAlignment [get, set]
 Specifies the dimension text horizontal position. More...
 
double TextOffset [get, set]
 Specifies the gap between dimension text and dimension line. More...
 
String^  TextOverride [get, set]
 Specifies the text creation description. More...
 
GeVec3d TextPosition [get, set]
 Specifies the text position. More...
 
double TextSize [get, set]
 Specifies the size of the dimension text. More...
 
bool UseDefaultTextPosition [get, set]
 If true the text position is automatically computed. More...
 
double TextRotation [get, set]
 Specifies the text rotation to local X-Axis in radians. More...
 
DimensionTextVAlignment TextVerticalAlignment [get, set]
 Specifies the dimension text vertical position. More...
 
int Precision [get, set]
 Specifies the number of decimal places. More...
 
- Properties inherited from X3g::Plugin::DbEntity
String^  Id [get]
 The unqiue id of the entity. More...
 
String^  Name [get, set]
 User-defined name of the entity. More...
 
String^  Material [get, set]
 Material of this entity. More...
 
EntityColor Color [get, set]
 Color of this entity. More...
 
String^  Layer [get, set]
 Layer name of this entity. More...
 
String^  OwningBlock [get]
 Name of the block that owns this entity. More...
 
bool TopLevel [get]
 Returns if entity is owned by modelspace. More...
 
bool Valid [get]
 Returns if entity is valid and not erased. More...
 
DbTextureProjection TextureProjection [get, set]
 The AutoCAD texture projection. More...
 
bool IsModelingSupported [get]
 If true the entity can be used with modeling functions. More...
 
bool Locked [get, set]
 Lock status of this entity. More...
 
GeVec2d LayoutPosition [get, set]
 Position the Entity in Layout. More...
 
DbDictionary^  CustomData [get]
 Allows to attach custom data to the entity. More...
 
String^  CustomType [get, set]
 Allows plugins to identify their entities. More...
 
Object^  CustomObject
 Allows to attach an object which extents the entity (e.g. More...
 
bool IsVisible [get, set]
 Visibility of this entity. More...
 
Hyperlink Link [get, set]
 Get or Set the Hyperlink attached to the DbEntity. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from X3g::Plugin::DbEntity
static DbEntityFromId (String^ pEntityId)
 Creates DbEntity to given entity id. More...
 
- Package Functions inherited from X3g::Plugin::DbEntity
 DbEntity (Block^ pOwner, EntityImpl *pImpl)
 This constructor is used to create new OdDbEntities and add to a block. More...
 
 DbEntity (Layout::Page^ pPage, EntityImpl *pImpl)
 This constructor is used to create new OdDbEntities and add to a page. More...
 
- Events inherited from X3g::Plugin::DbEntity
System::EventHandler^  VisibilityChanged
 Occurs when DbEntity::IsVisible changed. More...
 

Detailed Description

A length dimension with a dimension line rotated to measuring points.

Constructor & Destructor Documentation

X3g::Plugin::DbRotatedDimension::DbRotatedDimension ( Layout::Page pPage)

Create a DbRotatedDimension on the given page.

X3g::Plugin::DbRotatedDimension::DbRotatedDimension ( Block pOwner)

Create a DbRotatedDimension as child of the given block.

Member Function Documentation

IList< DbEntity^ > X3g::Plugin::DbRotatedDimension::GetXLine1Refs ( )

Returns a list of references for the first measuring point.

IList< DbEntity^ > X3g::Plugin::DbRotatedDimension::GetXLine2Refs ( )

Returns a list of references for the second measuring point.

void X3g::Plugin::DbRotatedDimension::SetXLine1Refs ( IEnumerable< DbEntity^ >^  pRefs)

Set references for the first measuring points.

void X3g::Plugin::DbRotatedDimension::SetXLine2Refs ( IEnumerable< DbEntity^ >^  pRefs)

Set references for the second measuring point.

Property Documentation

double X3g::Plugin::DbRotatedDimension::BaseOffset
getset

Specifies the distance of reference points to extension lines.

GeVec3d X3g::Plugin::DbRotatedDimension::DimensionLinePoint
getset

A point of the dimension line.

double X3g::Plugin::DbRotatedDimension::DimensionLineRotation
getset

Specifies the dimension line rotation to local X-Axis in radians.

double X3g::Plugin::DbRotatedDimension::ExtensionLineLength
getset

Specifies the length of extension line beyond dimension line.

double X3g::Plugin::DbRotatedDimension::ScaleFactor
getset

Specifies the distance multiplier for measurement.

LengthUnit X3g::Plugin::DbRotatedDimension::Unit
getset

Specifies the unit for measurement.

If set to 'Undefined' the scale factor will be used.

GeVec3d X3g::Plugin::DbRotatedDimension::XLine1Point
getset

First measuring point and start point of the first extension line.

GeVec3d X3g::Plugin::DbRotatedDimension::XLine2Point
getset

Second measuring point and start point of the second extension line.