SetErased Method (IEntityHelper)

SetErased Method (IEntityHelper) | Send Feedback
See Also

Obj
  Entity

NewVal
  True to erase the specified entity from the group of entities, false to restore it (see Remarks)

Erases or restores the specified entity.

# Syntax

Visual Basic |
--- | ---
    Sub SetErased( _
       ByVal Obj As System.Object, _
       ByVal NewVal As System.Boolean _
    )

C# |
--- | ---
    void SetErased(
       System.object Obj,
       System.bool NewVal
    )

JavaScript |
--- | ---
    SetErased(
       Obj : Object,
       NewVal : Boolean
    )

COM native C++ |
--- | ---
    HRESULT SetErased(
       IDispatch* Obj,
       VARIANT_BOOL NewVal
    )

C++ |
--- | ---
    DSRESULT SetErased(
       dsObject* Obj,
       bool NewVal
    )

#### Parameters

Obj
  Entity
NewVal
  True to erase the specified entity from the group of entities, false to restore it (see Remarks)

# Remarks

If this property is set to true... | Then the entity...
and the drawing remains open | is not displayed and can be restored by setting this property to false.
when the drawing is closed | is deleted from the drawing and cannot be restored.

To determine if an entity is erased, call IEntityHelper::GetErased

# See Also

####

IEntityHelper Interface
IEntityHelper Members

# Availability

DraftSight V1R5.0