![]() |
MKI_TransformSurface (Entity Editing) New in Version 2024.1 |
www.CAD6.com |
C++ SyntaxMKI_TransformSurface( MKI_CONST_ENTITY_OBJECT_PTR f_pObjPtr1, MKI_ENTITY_OBJECT_PTR f_pObjPtr2 );
Transforms the given object into a surface, if possible. This function is sometimes required as some other functions do only accept objects of type 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 ValueTransformation result as a bitwise-or combination of flags (see MKI_RESULT_*).
|
CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH