![]() |
MKI_TransformSimplify (Entity Editing) Renamed in Version 2023.2 |
www.CAD6.com |
C++ SyntaxMKI_TransformSimplify( MKI_CONST_ENTITY_OBJECT_PTR f_pObjPtr1, MKI_ENTITY_OBJECT_PTR f_pObjPtr2, MKI_CONST_SIMPLIFY_DATA_PTR f_pSimplify );
Transforms the given object into a simplified object that contains a reduced representation of the original object. All non-geometric data stored in f_pObjPtr1 will be copied to f_pObjPtr2, especially all properties and attributes.
Parametersf_pObjPtr1 [MKI_CONST_ENTITY_OBJECT_PTR] Address of the object that shall be simplified. This object must be of one of the following types (see MKI_OBJ_*):
MKI_OBJ_CURVE MKI_OBJ_SURFACE MKI_OBJ_HATCH MKI_OBJ_HYPERLINK MKI_OBJ_COMMENT MKI_OBJ_GEOCURVE MKI_OBJ_GEOSURFACE f_pObjPtr2 [MKI_ENTITY_OBJECT_PTR] Address of a buffer that shall receive the simplified object. This buffer must be at least MKI_MaxEntityData() bytes large, and can e.g. be created using MKI_EntityBuffer(). The resulting object will be of one of the following types (see MKI_OBJ_*):
MKI_OBJ_CURVE MKI_OBJ_SURFACE MKI_OBJ_HATCH MKI_OBJ_HYPERLINK MKI_OBJ_COMMENT MKI_OBJ_GEOCURVE MKI_OBJ_GEOSURFACE f_pSimplify [MKI_CONST_SIMPLIFY_DATA_PTR] Address of a set of options for the simplification or nullptr if the application's current settings shall be used. The simplification will always be performed regardless of m_fActive. Use MKI_DialogTrimSimplify to allow the user to view and edit these settings.
Return ValueTransformation result as a bitwise-or combination of flags (see MKI_RESULT_*).
|
CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH