MKI_PARSE_OBJ_DGENERIC6 (Object Parser Classes) Changed in Version 2019.1

www.CAD6.com

C++ Syntax

class MKI_PARSE_OBJ_DGENERIC6

{

  public:

 

  MKI_BLOCK_POINT_PTR m_pPoint1,

                      m_pPoint2,

                      m_pLine,

                      m_pNumber1,

                      m_pNumber2,

                      m_pExtension1,

                      m_pExtension2;

  MKI_BLOCK_TEXT_PTR m_pText1,

                     m_pText2,

                     m_pText3,

                     m_pTolerance1,

                     m_pTolerance2;

  MKI_BLOCK_DIMLARGE_PTR m_pData;

  MKI_BLOCK_T006_PTR m_pTemp;

 

  MKI_PARSE_OBJ_DGENERIC6( MKI_CONST_ENTITY_OBJECT_PTR f_pObj );

 

  MKI_POINT_REF

  Point1( void );

 

  MKI_POINT_REF

  Point2( void );

 

  MKI_POINT_REF

  PointLine( void );

 

  MKI_POINT_REF

  PointNumber1( void );

 

  MKI_POINT_REF

  PointNumber2( void );

 

  MKI_POINT_REF

  PointExtension1( void );

 

  MKI_POINT_REF

  PointExtension2( void );

 

  LPWSTR

  Text1( void );

 

  LPWSTR

  Text2( void );

 

  LPWSTR

  Text3( void );

 

  LPWSTR

  Tolerance1( void );

 

  LPWSTR

  Tolerance2( void );

 

  MKI_DIMLARGE_REF

  DimLarge( void );

 

  MKI_BLOCK_T006_REF

  Temp( void );

};

 

This generic class is used to parse an object of either type MKI_OBJ_DANGLE or MKI_OBJ_DARCLENGTH. For information about the internal data block structure of these object types, see Object 28 "Dimension Angle" and Object 29 "Dimension Arc Length".

 

Use this generic class only if you only want to access common data blocks that are equal across these object types. The "6" in the name derives from the fact that all these objects contains a T006 data block.

 

This parser only works if the object is complete, i.e. already contains all necessary data blocks with correct size information! For performance reasons, there is no internal testing whatsoever. All point and outline attributes in between are skipped.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH