MKI_TransformObjectType (Entity Editing) Changed in Version 2022.1

www.CAD6.com

C++ Syntax

MKI_RESULTVALUE

MKI_TransformObjectType(

 MKI_CONST_ENTITY_OBJECT_PTR f_pObjPtr1,

 MKI_ENTITY_OBJECT_PTR f_pObjPtr2,

 __int32 f_nObjType );

 

Transforms the given object into a similar object of a different type.

 

Parameters

ObjPtr1

[MKI_CONST_ENTITY_OBJECT_PTR] Address of the object that shall be transformed to a curve or surface.

ObjPtr2

[MKI_ENTITY_OBJECT_PTR] Address of a buffer that shall receive the transformed object. This buffer must be at least MKI_MaxEntityData() bytes large, and can e.g. be created using MKI_EntityBuffer().

ObjType

[__int32] Desired type of the transformed object. The possible destination object types depend on the type of the original object.

 

Return Value Changed in Version 2022.1

Transformation result as a bitwise-or combination of flags (see MKI_RESULT_*).

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH