Class CadExternalReference
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
One row of AutoCAD's External References palette: an external reference (a DXF attached or overlaid) or an image definition of the drawing, with where it stands and the file found for it.
public sealed class CadExternalReference
- Inheritance
-
CadExternalReference
- Inherited Members
Properties
- Date
Gets the time the file found was last written, in local time; null where none was found.
- Depth
Gets how deep it is nested: 0 for one the drawing places, 1 for one placed by such a reference's drawing, and on.
- FoundAt
Gets the full path of the file found; null where none was.
- IsImage
Gets whether it is an image rather than an external reference.
- IsNested
Gets whether it is a nested reference: one the drawing of another reference places.
- IsOverlay
Gets whether an external reference is overlaid rather than attached.
- IsPdf
Gets whether it is the definition of a PDF underlay (one page of a PDF file) rather than an external reference or an image.
- Name
Gets the name: the block of an external reference, the entry of an image definition.
- ParentName
Gets the name of the external reference whose drawing places it, for a nested reference; null for one the drawing places itself, or an image.
- PathType
Gets how its path is written: a full path, one from the drawing's folder, or the file's name alone.
- SavedPath
Gets the path the drawing names the file by, as it is written.
- Size
Gets the size of the file found in bytes; -1 where none was found.
- Status
Gets where it stands.
- StatusText
Gets the status in the words of AutoCAD 2021's help of the palette: Loaded, Unloaded, Not Found, Unresolved, Unreferenced, Needs Reloading, Orphaned.
- TypeName
Gets the type the palette shows: Attach or Overlay for an external reference, the kind of file for an image (PNG, JPG, BMP).