API_​MarkerLinkDataType

This type manifestates as a “linkedMarker” named variable in the detail/worksheet, section and elevation API types, and used to set the referring properties of the marker.

    typedef struct {
        API_Guid               referredView;
        API_Guid               referredDrawing;
        API_Guid               referredPMViewPoint;
        bool                   sourceMarker;
        bool                   customMarker;
        bool                   referToDrawing;
        bool                   filler_1;
        API_ReferringLevel     referringLevel;
        Int32                  filler_2[8];
    } API_MarkerLinkDataType;

 

Members

referredView
Guid of the referred view. (Only if the marker refers to a view, otherwise this variable does not carry any useful information.)
referredDrawing
Guid of the referred drawing. (Only if the marker refers to a drawing, otherwise this variable does not carry any useful information.) You should use the drawingGuid member of one instance of API_DrawingType if you want to create a new element with markerLinkData…
referredPMViewPoint
Guid of the referred view point. (Only if the marker refers to a view point, otherwise this variable does not carry any useful information.)
sourceMarker
If it’s true, the marker is a source marker.
customMarker
If it’s true, the marker is an unlinked one. The other variables don’t represent any meaningful information in this case. If sourceMarker and customMarker are both false, then the marker is a linked one.
referToDrawing
This boolean variable has meaning if the marker is a source or linked marker.
referringLevel
This variable carries information if the marker is a source or a linked marker, namely it determindes the referred type. Based on this info it can be decided, that which guid should be used of the three above. The type and the values of this variable are the following:
    typedef enum {
            NotReferred                = 0,
            ReferredToViewPoint        = 1,
            ReferredToView     = 2,
            ReferredToDrawing  = 3
    } API_ReferringLevel;

 

Remarks

Nope.

 

Requirements

Version: API 14 or later
Header: APIdefs_Elements.h

 

See Also

API_DetailType, API Types