RemoveOptions Property (ISelectionManager)

RemoveOptions Property (ISelectionManager) | Send Feedback
See Also

Gets or sets whether to allow or disallow the selection of an entity.

# Syntax

Visual Basic |
--- | ---
    Property RemoveOptions As System.Integer

C# |
--- | ---
    System.int RemoveOptions {get; set;}

JavaScript |
--- | ---
    get_RemoveOptions () : dsSystem.int
    put_RemoveOptions (
       NewVal : dsSystem.int
    )

COM native C++ |
--- | ---
    HRESULT get_RemoveOptions(
       LONG* Val
    )
    HRESULT put_RemoveOptions(
       LONG NewVal

C++ |
--- | ---
    DSRESULT get_RemoveOptions (
       long* Val
    )
    DSRESULT put_RemoveOptions(
       long NewVal
    )

#### Property Value

Allow or disallow the selection of the entity as defined in dsSelectionRemove_e

# Remarks

You can use this method to select an entity whose selection is typically disallowed in DraftSight; e.g., selecting an entity on a locked Layer in order to dimension that entity.

Use this method in combination with such methods as ICommandMessage::PromptForSelection and ICommandMessage::PromptForSelectionOrKeyword to allow and disallow selection of entities.

# See Also

####

ISelectionManager Interface
ISelectionManager Members

# Availability

DraftSight V1R5.1