![]() |
MKI_COMMAND_ENTRY (Basic Classes) Changed in Version 2019.0 |
www.CAD6.com |
C++ Syntaxclass MKI_COMMAND_ENTRY { public:
__int32 m_nCommandMode, m_nPointNumber, m_anPointTypes[MKI_INPUT_DEF_MAX], m_anPointRelative[MKI_INPUT_DEF_MAX]; LPWSTR m_apszPointNames[MKI_INPUT_DEF_MAX]; };
This structure contains a command description. It states the point sequence that is to be entered by the user.
Element DescriptionCommandMode Changed in Version 6.51 [__int32] This value determines what kind of command is coded in this structure. In the low-order word, it contains the command type (see MKI_COMMAND_*). In the high-order word, it contains a bit-wise or combination of command modes (see MKI_COMMANDMODE_*). PointNumber [__int32] This value determines the number of point types in the PointTypes array. If CommandMode is either MKI_COMMAND_LOCAL or MKI_COMMAND_FIXED, this is the number of points to be entered by the user. If CommandMode is MKI_COMMAND_VARIABLE, this value determines the number of predefined point types. The last point type will automatically be used for all further points (see below). Valid range: 0 <= Value < MKI_INPUT_DEF_MAX. PointTypes Changed in Version 2019.0 [__int32[]] This array contains the point types to be entered by the user. In the low-order word, each value contains on the available point types (see MKI_POINT_*). In the high-order word, it can contain a point input mode (see MKI_POINTMODE_*). If CommandMode is MKI_COMMAND_VARIABLE, the value of the last valid PointTypes entry determines the point types for all further points. PointRelative [__int32[]] This array contains information on relativity of the coordinate display of each point. It contains the index of the point to which the current shall be relative, or -1 if no relative point does exist. During a line input, e.g., the start-point (index 0) has no relative point, so PointRelative[0] is set to -1. The end-point (index 1) has the start-point (index 0) as its relative point, so PointRelative[1] is set to 0. If CommandMode is MKI_COMMAND_VARIABLE, the value of the last valid PointRelative entry determines to what points all further points will be relative. Possible values are:
PointNames [LPWSTR[]] This array contains the point names of the point to be entered by the user. If an entry is nullptr, the default name for the corresponding point type is used. For a description of all available point types, see MKI_POINT_*. If CommandMode is MKI_COMMAND_VARIABLE, the value of the last valid PointNames entry determines the point names for all further points
|
CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH