2.2.4.41.1 Selection::Add

Description

Selects object

Syntax

BOOL Add( OriginObject & obj )

Parameters

obj
the Object to be selected.

Return

FALSE if OriginObject passed to the function is invalid or can not be selected

Examples

EX1

void Selection_Add_Ex1(GraphObject& gr)
{
    if( gr )
        Selection.Add(gr);
}

Remark

See Also

Remove

Header to Included

origin.h