![]() |
Extended Object 0 "Star" (Entity Type "Extended Object") |
www.CAD6.com |
The extended object "Star" is defined by the sample plug-in.
Creation of this extended object is usually not supported in CAD6starter and CAD6engine Eco (unless the sample plug-in has been installed)! If already created, it can be displayed and modified generally, but not modified parametrically.
Data Block SequenceData Block 003( Center ) Data Block 004( Radius1 ) Data Block 004( Radius2 ) Data Block 005( Angle ) Data Block 1000( Indents )
ParametersCenter [MKI_POINT] Center point of the spiral. Radius1 [MKI_POINT] Radius point for the first circle. Radius2 [MKI_POINT] Radius point for the second circle. Angle [MKI_POINT] Overall rotation relative to Center. Indents [__int32] Number of indents. Valid range is 3 <= Indents <= 1000.
Interface Command SequenceMKI_ExtOpen, OwnerID = MKI_DB_OWNER_MK, Type = MKI_OBJ_EXT_STAR, Flag = MKI_EXTFLAG_CURVE | MKI_EXTFLAG_SURFACE MKI_ExtAddPoint, Type = MKI_DB_POINT_CENTER MKI_ExtAddPoint, Type = MKI_DB_POINT_RADIUS MKI_ExtAddPoint, Type = MKI_DB_POINT_RADIUS MKI_ExtAddPoint, Type = MKI_DB_POINT_ANGLE MKI_ExtAddInt32, Type = 1000
Use code like the following to parse the data blocks of this entity in memory:
MKI_BLOCK_ENUM b1( f_pExt ), b2( f_pExt ), b3( f_pExt ), b4( f_pExt ), b1000( f_pExt ); b2.SetNext( b1 ); b3.SetNext( b2 ); b4.SetNext( b3 ); b1000.SetNext( b4 );
MKI_POINT cCenter = b1.Point(0); MKI_POINT cRadius1 = b2.Point(0); MKI_POINT cRadius1 = b3.Point(0); MKI_POINT cAngle = b4.Point(0); __int32 nIndents = b1000.Int32()[0];
|
CAD6interface 2025.1 - Copyright 2025 Malz++Kassner® GmbH