is_linked_layer

 

Description

Check if the graph layer is linked to another layer.

Syntax

bool is_linked_layer( GraphLayer & gl )

Parameters

gl
[input] graph layer object

Return

true if is linked.

Examples

EX1

//For this example to run, make the graph layer that you want to check active 
void is_linked_layer_ex1()
{
    GraphLayer gl = Project.ActiveLayer();
    if(is_linked_layer(gl))
        out_str("The layer is linked");
}

Remark

See Also

Header to Include

origin.h

Reference