![]() |
MKI_TransformCurveSurface (Entity Editing) Changed in Version 2022.1 |
www.CAD6.com |
C++ SyntaxMKI_TransformCurveSurface( MKI_CONST_ENTITY_OBJECT_PTR f_pObjPtr1, MKI_ENTITY_OBJECT_PTR f_pObjPtr2 );
Transforms the given object into a curve or surface, respectively. This function is sometimes required as some other functions do only accept objects of type MKI_OBJ_CURVE or MKI_OBJ_SURFACE. All non-geometric data stored in ObjPtr1 will be copied to ObjPtr2, especially all properties and attributes.
ParametersObjPtr1 [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().
Return Value Changed in Version 2022.1Transformation result as a bitwise-or combination of flags (see MKI_RESULT_*).
|
CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH