Skip to content

REMOVE_GFX_SELECTED_AREA

REMOVE_GFX_SELECTED_AREA removes a gfx selection of the passed modelid.

Syntax

leo-grammar
CC "Modeling" REMOVE_GFX_SELECTED_AREA [ model:idValue ] .


# --> RESULT ecode:intValue
CC "Modeling" REMOVE_GFX_SELECTED_AREA [ model:idValue ] .


# --> RESULT ecode:intValue

Parameters

  • modelid (idValue) -

Returns

  • ecode (intValue) - the return variable ecode is set to 0 if the command worked, to 1 if an error occured.

Details

If no modelid is passed, the current active model will be taken.

See Also

Examples

asc
CC "Modeling" SET_GFX_SELECTED_AREA x1:1cm y1:1cm x2:5cm y2:5cm
CC "AdoScript" INFOBOX ("A gfx area should be selected now!")
CC "Modeling" REMOVE_GFX_SELECTED_AREA
CC "AdoScript" INFOBOX ("The gfx area should be removed now!")
CC "Modeling" SET_GFX_SELECTED_AREA x1:1cm y1:1cm x2:5cm y2:5cm
CC "AdoScript" INFOBOX ("A gfx area should be selected now!")
CC "Modeling" REMOVE_GFX_SELECTED_AREA
CC "AdoScript" INFOBOX ("The gfx area should be removed now!")

Sets and removes a gfx selection.

Versions and Changes

Available since ADOxx 1.3