MKI_BLOCK_DOUBLE (Data Block Classes) |
www.CAD6.com |
C++ Syntaxclass MKI_BLOCK_DOUBLE : public MKI_BLOCK_BASE { public:
double m_pData[]; };
This structure describes a data block storing double data types.
Element DescriptionHeader [MKI_BLOCK_HEADER] This structure contains general information about the data block. The ElemType element is to be set to MKI_DB_TYPE_DOUBLE (2). Data [double[]] List of data elements stored in the data block. The value must be between 1 and 8000 (inclusive).
MKD SyntaxThis data block is used to store a given number of double values.
BlockOwner,BlockType,2,ElemCount,Data(1),...,Data(ElemCount);
Element DescriptionBlockOwner [__int16] This value is a unique identification of the creator of the plug-in that created the data block. The value MKI_DB_OWNER_MK is reserved for use by Malz++Kassner, especially for objects and data blocks that are created and handled directly by the application. Valid range: 0 <= Value < 10000. Third-party vendors that plan to implement a plug-in should contact Malz++Kassner to receive their unique identification (see Getting Your Private Owner ID). BlockType [__int16] This value is an internal identification of the data block. This value is used by the plug-in that created this object. For information about this value see the documentation of the plug-in which should include a description of all extended objects used. Data blocks created by third-party vendors should use values between 1000 and 29999 (inclusive), the other values are reserved for direct use by Malz++Kassner. ElemCount [__int16] Number of values that are stored in this data block. The value must be between 1 and 4000 (inclusive). Data(x) [double] List of values, separated by commas, ended by a semicolon.
CommentThe following double data block types are predefined:
Data Block Type 100 (Constant) A data block of type MKI_DB_ALL_CONSTANT (100) is used to store a single double, mainly in dimensions.
BlockOwner,100,2,1,Constant; Constant [double] Constant value.
Data Block Type 101 (Arc) A data block of type MKI_DB_ALL_ARC (101) is used to store the direction of a circular or elliptical arc.
BlockOwner,101,2,1,Orientation; Orientation [double] Orientation of the arc. Positive values indicate counter-clockwise direction, negative values indicate clockwise direction.
Data Block Type 102 (Curve) A data block of type MKI_DB_ALL_CURVE (102) is used to store the direction and the curvature of a circular arc inside a curve.
BlockOwner,102,2,1,Orientation,Curvature; Orientation [double] Orientation of the arc. Positive values indicate counter-clockwise direction, negative values indicate clockwise direction. Curvature [double] Curvature of the circular arc.
|
CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH