MKI_ENTITY_HATCH (Entity Classes) Changed in Version 2021.0 |
www.CAD6.com |
C++ Syntaxclass MKI_ENTITY_HATCH : public MKI_ENTITY_BASE { public:
MKI_XPROPERTY m_cXProperty; MKI_MATRIX m_cDisplayMatrix; __int32 m_nDisplayMode;
MKI_HATCHDEF m_cHatchDef;
char m_pData[]; };
This structure describes an entity of type MKI_ENTITYTYPE_HATCH, i.e. a dynamic hatching. Header.EntityType must be MKI_ENTITYTYPE_HATCH (8).
Element DescriptionXProperty [MKI_XPROPERTY] Properties of the display data including transmission. DisplayMatrix [MKI_MATRIX] Display matrix of the display data. All entities stored in the display data have to be multiplied with this matrix before display. It contains translation, rotation, scaling and distortion. DisplayMode [__int32] Bit-wise OR combination of some flags indicating the display mode for extended objects. Possible values are (see MKI_DISPLAYMODE_*): MKI_DISPLAYMODE_DEFAULT MKI_DISPLAYMODE_SCALED_WIDTH MKI_DISPLAYMODE_NOSNAP MKI_DISPLAYMODE_SCALED_LENGTH MKI_DISPLAYMODE_NO_SMOOTHING New in Version 2015.2 MKI_DISPLAYMODE_NOLISTPOINTS New in Version 2018.0 MKI_DISPLAYMODE_NOHATCHUPDATE New in Version 2018.2 HatchDef [MKI_HATCHDEF] Hatching type used to dynamically created the hatching. HatchName contains the name of the hatching type used to create the hatching in the first place. This is NOT a dynamic link to that hatching type, but only for informational purposes. Data [char[]] This data section contains a list of data blocks (see Data Blocks). The sequence of data blocks stored here is identical to those stored in an object of type "Surface", see Object 13 "Surface".
Attributes New in Version 2021.0A dynamic hatching may contain attribute data blocks (see MKI_BLOCK_ATTRIBUTE) of type "local", "outline", and "point". For details, see Object 13 "Surface". The total number of attributes per dynamic hatching is limited to MKI_ATTRIBS_PER_OBJECT.
MKD SyntaxThis entity represents a dynamic hatching, i.e. an entity that contains a surface, a hatching type and the resulting hatching outlines. An entity of type "Dynamic Hatching" has the following structure:
0,EntityOwner,8,UniqueID,XProperty, DisplayMatrix,DisplayMode, HatchDef; -Data Block List- ,999,0,0; -Entity Link List- ,,999,,"";
Element DescriptionEntityOwner [__int16] This value is a unique identification of the plug-in that created the entity. 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). -Data Block List- The data block list contains a list of data blocks (see Data Blocks). Dynamic hatchings contain many different kinds of data blocks including local, outline, and point attributes. -Entity Link List- The entity link list contains the extended object's sub-entity link-list ("display data") as defined by Header.LinkFirst and Header.LinkLast. This list will usually contain a list of hatching objects (see Object 1 "Hatching"), but may also contain other objects.
|
CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH