Method Create
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
Create(CadDocument, CadDataLinkSettings)
Makes a data link, as the New Excel Data Link dialog does: one undo step. The name has to be new ("Data link name in use."), the source has to read, and the drawing has to be of AutoCAD 2007 or later.
public static CadEditResult Create(CadDocument document, CadDataLinkSettings settings)
Parameters
documentCadDocumentThe document.
settingsCadDataLinkSettingsThe settings.
Returns
- CadEditResult
What came of it.
Exceptions
- ArgumentNullException
Thrown when the document or the settings are null.