Object 39 "Hyperlink" (Entities) Changed in Version 2021.0

www.CAD6.com

Data Block Sequence

Data Block 110( Text )

- Text (ElemCount = MKI_LENGTH_TEXT_LONG)

Data Block 001( x1, y1 )

- Start-point of a curve

 

Line

Data Block 002( x?, y? )

- End-point of a line

 

Circular arc

Data Block 007( x?, y? )

- Pivot point 1

Data Block 008( x?, y? )

- Pivot point 2

Data Block 002( x?, y? )

- End-point of a Bézier curve

 

Bézier curve

Data Block 009( x?, y? )

- End-point of the circular arc

Data Block 102( Orientation, Curvature )

- Orientation and of curvature of the circular arc

 

A hyperlink is a surface containing a hyperlink. The hyperlink is only visible on the screen, it will not be output to printers. The hyperlink contains a text data block containing the hyperlink information, followed by data block defining the surface.

 

The sequence of data blocks stored for the surface is identical to those stored in an object of type "Surface", see Object 13 "Surface". In a hyperlink, the filling mode "Eraser" stands for "invisible" and not for "filled with background color".

 

Interface Command Sequence

MKI_ObjectOpen, Type = MKI_OBJ_HYPERLINK

MKI_ObjectAddTextLong, StaticLength = false

MKI_ObjectAddPoint, Type = MKI_DB_POINT_START

         ...

MKI_ObjectAddPoint, Type = MKI_DB_POINT_END

         ...

MKI_ObjectAddPoint, Type = MKI_DB_POINT_PIVOT1

MKI_ObjectAddPoint, Type = MKI_DB_POINT_PIVOT2

MKI_ObjectAddPoint, Type = MKI_DB_POINT_END

         ...

MKI_ObjectAddPoint, Type = MKI_DB_POINT_ARC

MKI_ObjectAddCurve

         ...

MKI_ObjectFastInsert

 

Use the MKI_PARSE_OBJ_HYPERLINK class to parse the data blocks of such an object in memory.

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH