|
MKI_EntityRectangle (Entity Creation) New in Version 2025.1 |
www.CAD6.com |
C++ SyntaxMKI_EntityRectangle( double f_dX1, double f_dY1, double f_dX2, double f_dY2 );
A macro-style command that creates a rectangle an object of type "surface" with default properties and inserts it to a currently open provisional clipping surface, extended object, group, block, or to the current drawing (in that order).
Parametersf_dX1 f_dY1 [double] Coordinates of the rectangle's first corner point in internal [mm] (relative to the internal origin, scale-independent). Valid range: MKI_COORD_MIN <= Value <= MKI_COORD_MAX. f_dX2 f_dY2 [double] Coordinates of the rectangle's second corner point in internal [mm] (relative to the internal origin, scale-independent). Valid range: MKI_COORD_MIN <= Value <= MKI_COORD_MAX.
Return ValueReturns the address of the newly created entity's property set is successful, else nullptr.
|
CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH