Skip to content

SET_CONNECTOR_MARKS ​

SET_CONNECTOR_MARKS turns the creation of connector marks on or off.

Syntax ​

leo-grammar
CC "Modeling" SET_CONNECTOR_MARKS	[ id | model:idValue ] [ create:boolValue ] .


# --> RESULT ecode:intValue .
CC "Modeling" SET_CONNECTOR_MARKS	[ id | model:idValue ] [ create:boolValue ] .


# --> RESULT ecode:intValue .

Parameters ​

  • id(modifier) -
  • modelid (idValue) -
  • create (boolValue) -

Returns ​

  • ecode (intValue) - Contains the error code or is 0 in case of success.

Details ​

This command is useful where it shall be guaranteed that printing is performed with (resp. without) connector marks. By now there is no corresponding read command, but the reading the connector marks status can therefore be done via the connector marks model attribute.

See Also ​

Examples ​

asc
# setting the creation of connector marks of the active model
CC "Modeling" SET_CONNECTOR_MARKS create    # "on"
CC "Modeling" SET_CONNECTOR_MARKS create:0  # "off"
CC "Modeling" SET_CONNECTOR_MARKS create:1  # "on"
# setting the creation of connector marks of the active model
CC "Modeling" SET_CONNECTOR_MARKS create    # "on"
CC "Modeling" SET_CONNECTOR_MARKS create:0  # "off"
CC "Modeling" SET_CONNECTOR_MARKS create:1  # "on"

Versions and Changes ​

Available since ADOxx 1.3