Files
2023-04-26 14:47:47 +02:00

68 lines
4.1 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.19041}{\*\mmathPr\mnaryLim0\mdispDef1\mwrapIndent1440 }\viewkind4\uc1
\pard\nowidctlpar\b\f0\fs20 Application:\b0 Toposolid\line\b Revit Platform:\b0 All\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 Beginning\line\b Category:\b0 Elements\line\b Type:\b0 ExternalCommand\line\line\b Subject:\b0 Toposolid API Samples\line\b Summary:\b0 \line API samples for toposolid related features.\i\f1\par
\i0\par
\b\f0 Classes:\b0 \cf1\i The \i0 blue texts are for your reference, please update them and change the font to normal.\cf0\par
\pard\nowidctlpar\fi180\li180\cf1 Autodesk.Revit.UI.IExternalCommand\par
Autodesk.Revit.DB\par
\cf0\f1\lang1036\par
\pard\nowidctlpar\b\f0\lang1033 Project Files:\b0 \i\par
\cf1\i0 Command.cs\par
\pard\nowidctlpar\li360 It contains the class Command which inherits from interface IExternalCommand and implements the Execute method.\par
\pard\nowidctlpar\cf0\f1\lang1036\par
\b\lang1033\par
\f0 Description:\b0 \f1\par
\cf1\f0 This sample provides following functionalities.\par
\pard\nowidctlpar\fi-360\li360\tx360 -\tab Let user create grids on the base of the selected lines/arcs.\par
-\tab Let user generate orthogonal linear grids with specified origin, spacing of X and Y directions, numbers of X and Y direction grids. \par
-\tab Let user generate radial and arc grids with specified center, span of grids, spacing between concentric arcs and number of rays in the specified span. Even the user can specify radius of the first arc grid and distance from center to the start points of radial grids. \par
\pard\nowidctlpar\fi-360\li360 -\tab Let user set the label for the first grid like A or 1 and set the location of the bubble for grids to be created.\par
-\tab The length units within UI should accord with current project unit setting.\par
\pard\nowidctlpar\cf0\f1\par
\b\f0 Instructions:\cf1\b0 \f1\par
\f0 Open Revit application and execute the command.\par
\pard\nowidctlpar\fi-360\li360\tx360 1.\tab Create grids with selected lines/arcs.\par
\pard\nowidctlpar\li765 a. Select some lines/arcs in current project.\par
b. Execute the command.\par
\pard\nowidctlpar\fi-400\li1166 c. Check the option \ldblquote Create grids with selected lines or arcs\rdblquote .\par
\pard\nowidctlpar\fi-360\li1125\tx1125 d.\tab In the next \ldblquote Create Grids with Selected Lines/Arcs\rdblquote dialog specify the values and click button \ldblquote Create Grids\rdblquote .\par
\pard\nowidctlpar\li765 Expected result: Grids are created on the base of selected lines/arcs. If an arc is a circle, two girds will be created separately for the upper and lower parts of the circle.\par
\par
\pard\nowidctlpar\fi-360\li360\tx360 2.\tab Create orthogonal grids.\par
\pard\nowidctlpar\fi-360\li1080\tx1080 a.\tab Execute the command.\par
\pard\nowidctlpar\fi-360\li1080 b.\tab Check the option \ldblquote Create a batch of orthogonal grids\rdblquote .\par
\pard\nowidctlpar\fi-360\li1080\tx1080 c.\tab In the next \ldblquote Create Orthogonal Grids\rdblquote dialog specify the values and click button \ldblquote Create Grids\rdblquote .\par
\pard\nowidctlpar\li720 Expected result: Orthogonal grids are created according to specified values.\par
\pard\nowidctlpar\li360\par
\pard\nowidctlpar\fi-360\li360\tx360 3.\tab Create radial and arc grids.\par
\pard\nowidctlpar\fi-360\li1080\tx1080 a.\tab Execute the command.\par
\pard\nowidctlpar\fi-360\li1080 b.\tab Check the option \ldblquote Create a batch of radial and arc grids\rdblquote .\par
\i c.\tab In the next \ldblquote Create Radial and Arc Grids\rdblquote dialog specify the values and click button \ldblquote Create Grids\rdblquote .\par
\pard\nowidctlpar\li720 Expected result: Radial and arc grids are created according to specified values. \par
\pard\nowidctlpar\cf0\i0\f1\par
}