Table of Contents

Class CadRefEdit

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

The in-place edit open on a drawing (RefEdit): the block being edited, the references that lead to it, the working set and the settings the edit opened with.

public sealed class CadRefEdit
Inheritance
CadRefEdit
Inherited Members

Fields

NotEditing

What REFSET and REFCLOSE say where no reference is being edited, in AutoCAD 2021's words.

Properties

Chain

Gets the handles of the references that lead to the block, the one in a space first; one for a reference of a space, two for a reference nested in it.

FormatNotice

Gets what AutoCAD 2021 says when the edit opened on an external reference whose drawing is of an older release than the drawing: that the edits saved back are in the release of the file; null otherwise.

IsExternalReference

Gets whether the reference edited is an external reference, whose file REFCLOSE Save writes.

LocksObjects

Gets whether the objects outside the working set are locked, as the edit opened.

Name

Gets the name of the block being edited: REFEDITNAME.

ShowsAttributeDefinitions

Gets whether the attribute definitions of the block are in the working set, as the edit opened.

Skipped

Gets how many objects the reference's placing could not hold, left in the block, when the edit opened.

WorkingSet

Gets the handles of the objects in the working set that are still in the drawing, in ordinal order: the copies of the block's objects and the objects added since, those erased or taken out left out.

XrefFile

Gets the full path of the file REFCLOSE Save writes, where the reference edited is an external reference; null for a block.

Methods

NotAllowedFor(string)

What a command that cannot run while a reference is edited says, in AutoCAD 2021's words: a second REFEDIT names the block checked out, QSAVE and SAVEAS say the drawing cannot be saved, any other (BEDIT) is named.