mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-08-17 10:59:05 +00:00
24 lines
1.7 KiB
Plaintext
24 lines
1.7 KiB
Plaintext
|
|
{\rtf1\fbidis\ansi\ansicpg936\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fswiss\fprq2\fcharset0 Arial;}{\f1\froman\fprq2\fcharset0 Times New Roman;}}
|
||
|
|
{\colortbl ;\red0\green0\blue255;}
|
||
|
|
\viewkind4\uc1\pard\ltrpar\b\f0\fs20 Application:\b0 HelloRevit\line\b Revit Platform:\b0 All\line\b Revit Version:\b0 2010.0\line\b First Released For:\b0 8.0\line\b Last Modified:\b0 02/26/2008\line\b Modified By:\b0 CL 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 How to use external command.\line\b Summary:\b0 \line This sample demonstrates how to add a command to Revit. \f1\par
|
||
|
|
\b\par
|
||
|
|
\f0 Classes:\b0 \f1\par
|
||
|
|
\pard\ltrpar\li360\f0 Autodesk.Revit.IExternalCommand \par
|
||
|
|
\pard\ltrpar\f1\par
|
||
|
|
\b\f0 Project Files:\b0 \f1\par
|
||
|
|
\f0 HelloRevit.vb\par
|
||
|
|
\pard\ltrpar\li360 This file contains two classes named Command and CommandForm. They both inherit from IExternalCommmand interface and simply show how to implement the IExternalCommmand interface. \f1\par
|
||
|
|
\pard\ltrpar\par
|
||
|
|
\f0 HelloRevitForm.vb\f1\par
|
||
|
|
\pard\ltrpar\li360\f0 This file contains a Form class which shows a simple dialog.\par
|
||
|
|
\pard\ltrpar\f1\par
|
||
|
|
\b\f0 Description:\b0 \f1\par
|
||
|
|
\f0 This sample simply shows how to add a command to Revit. Just follow the following steps:\par
|
||
|
|
\pard\ltrpar\fi-360\li360\tx360 -\tab Define a class inherits from IExternalCommmand interface.\par
|
||
|
|
\pard\ltrpar\fi-360\li360 -\tab Implement the Execute method of IExternalCommmand.\par
|
||
|
|
\pard\ltrpar\f1\par
|
||
|
|
\b\f0 Instructions:\cf1\b0 \f1\par
|
||
|
|
\pard\ltrpar\fi-360\li360\tx360\cf0\f0 1.\tab Open Revit.\par
|
||
|
|
2.\tab Run this command.\par
|
||
|
|
}
|
||
|
|
|