Files
2021-04-20 11:36:21 +02:00

44 lines
2.5 KiB
Plaintext

{\rtf1\ansi\ansicpg1252\deff0\nouicompat\deflang1033\deflangfe2052{\fonttbl{\f0\fswiss\fprq2\fcharset0 Arial;}{\f1\froman\fprq2\fcharset0 Times New Roman;}}
{\colortbl ;\red0\green0\blue255;}
{\*\generator Riched20 10.0.14393}\viewkind4\uc1
\pard\nowidctlpar\b\f0\fs20 Application:\b0 PathOfTravel\line\b Revit Platform:\b0 Architecture\line\b Revit Version:\b0 2020.0\line\b First Released For:\b0 2020.0\line\b Programming Language:\b0 C#\line\b Skill Level:\b0 Medium\line\b Category:\b0 Elements, Annotation, Views\line\b Type:\b0 ExternalCommand\line\line\b Subject:\b0 Create PathOfTravel.\line\b Summary:\b0 This sample demonstrated how to create PathOfTravel elements from room(s) to door(s) in a plan view.\i\f1\par
\i0\par
\b\f0 Classes:\b0\par
\pard\nowidctlpar\fi360 Autodesk.Revit.UI.IExternalCommand\f1\par
\f0 Autodesk.Revit.DB.Creation.Document\par
Autodesk.Revit.DB.Analysis.PathOfTravel\f1\par
\f0 Autodesk.Revit.DB.Architecture.Room\par
\pard\nowidctlpar\fi180\li180 Autodesk.Revit.DB.Architecture.Door\cf1\par
\cf0\f1\lang1036\par
\pard\nowidctlpar\b\f0\lang1033 Project Files:\b0 \i\par
\i0 Command.cs\par
\pard\nowidctlpar\li360 It contains the class Command which inherits from interface IExternalCommand and implements the Execute method. Execution displays the dialog defined in CreateForm.cs.\par
\cf1\par
\pard\nowidctlpar\cf0 CreateForm.cs\f1\par
\pard\nowidctlpar\li360\tx720\f0 This file contains a Form class which consists three radio controls which allow three different PathOfTravel creation methods.\cf1\par
\pard\nowidctlpar\cf0\f1\lang1036\par
\b\lang1033\par
\f0 Description:\b0 \f1\par
\f0 This sample provides following functionalities.\par
\pard\nowidctlpar\fi-360\li360\tx360 -\tab Automatically computes room center and corner points to use for the start point of the path.\par
-\tab When the option for path to a single door is selected, lets the user pick which door to use for the end point of the path.\par
-\tab Automatically creates PathOfTravel elements between the selected combination of room and door elements.\par
\pard\nowidctlpar\f1\par
\b\f0 Instructions:\cf1\b0 \f1\par
\cf0\f0 Open Revit application and execute the command.\par
\pard\nowidctlpar\fi-360\li360 1.\tab Create some rooms and exit doors.\par
\pard\nowidctlpar\fi-360\li360 2.\tab Open a plan view in which the created elements are visible.\par
3. Execute the external command. In the dialog, pick an option to create the paths. After clicking OK, the paths will be created and displayed in the view.\par
}