Files

23 lines
2.1 KiB
Plaintext
Raw Permalink Normal View History

2024-12-12 09:51:40 +01:00
{\rtf1\fbidis\ansi\ansicpg936\deff0\deflang1033\deflangfe2052\deftab420{\fonttbl{\f0\fswiss\fprq2\fcharset0 Arial;}}
{\info{\horzdoc}{\*\lchars ([\'7b\'a1\'a4\'a1\'ae\'a1\'b0\'a1\'b4\'a1\'b6\'a1\'b8\'a1\'ba\'a1\'be\'a1\'b2\'a1\'bc\'a3\'a8\'a3\'ae\'a3\'db\'a3\'fb\'a1\'ea\'a3\'a4}{\*\fchars !),.:\'3b?]\'7d\'a1\'a7\'a1\'a4\'a1\'a6\'a1\'a5\'a8\'44\'a1\'ac\'a1\'af\'a1\'b1\'a1\'ad\'a1\'c3\'a1\'a2\'a1\'a3\'a1\'a8\'a1\'a9\'a1\'b5\'a1\'b7\'a1\'b9\'a1\'bb\'a1\'bf\'a1\'b3\'a1\'bd\'a3\'a1\'a3\'a2\'a3\'a7\'a3\'a9\'a3\'ac\'a3\'ae\'a3\'ba\'a3\'bb\'a3\'bf\'a3\'dd\'a3\'e0\'a3\'fc\'a3\'fd\'a1\'ab\'a1\'e9}}
\viewkind4\uc1\pard\ltrpar\nowidctlpar\kerning2\b\f0\fs20 Application:\b0 DeleteObject\line\b Revit Platform:\b0 All\line\b Revit Version:\b0 2010.0\line\b First Released For:\b0 9.0\line\b Last Modified:\b0 02/26/2008\line\b Modified By:\b0 KY Autodesk\line\b Programming Language:\b0 VB.NET\line\b Skill Level:\b0 Beginning\line\b Category:\b0 Basics\line\b Type:\b0 ExternalCommand\line\line\b Subject:\b0 Delete Objects.\line\b Summary:\b0 \line This sample is used to delete the objects selected by user.\par
\par
\b Classes:\b0 \par
\pard\ltrpar\nowidctlpar\fi360 Autodesk.Revit.IExternalCommand\par
Autodesk.Revit.Document\par
Autodesk.Revit.SelElementSet\par
\pard\ltrpar\nowidctlpar\par
\b Project Files:\b0 \par
DeleteObject.vb\par
\pard\ltrpar\nowidctlpar\li359 Class DeleteObject Implements the IExternalCommand interface and it deletes the selected objects.\par
\pard\ltrpar\nowidctlpar\b\par
Description:\b0 \par
\pard\ltrpar\nowidctlpar\fi-360\li360\tx360 -\tab What the sample does is to get the objects selected and delete them, highlight objects which can not be deleted.\par
\pard\ltrpar\nowidctlpar\fi-360\li360 -\tab Use Document.Delete(Element) to delete an element.\par
-\tab Use elements.Insert(Element) to highlight the element after return cancel or failed, elements is the parameter of the function Execute of IExternalCommand.\par
\pard\ltrpar\nowidctlpar\par
\b Instructions:\b0 \par
1.\tab Select element(s) which you want to delete.\par
2.\tab Run this command.\par
}