Graphisoft®

API Development KitVersion: 18

VectorImage::AddSideHotspot


Adds a hotspot to the VectorImage.


GSErrCode  AddSideHotspot (
    short               pen,
    short               type,
    short               subtype,
    ULong               hotsUnID,
    const Coord&        pt
);

Parameters

pen
The drawing pen of the hotspot.
type
***Missing
subtype
***Missing
hotsUnID
The unique ID of the hotspot.
pt
The place of the hotspot in the model in meters.

Return value

If the function succeeds, the return value is NoError. If the function fails, the return value is the error code.

Description

Addition always merges the new item to the end of the primitives list but drawing order can differ from placing order.

Requirements

Version:API 10.0 or later, ModelerGraphics 8 or later
Library:ModelerGraphicsImp.lib (Win) or ModelerGraphics.framework (Mac)
Header:VectorImage.hpp