mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-09-18 02:21:33 +00:00
36 lines
3.6 KiB
Plaintext
36 lines
3.6 KiB
Plaintext
{\rtf1\fbidis\ansi\ansicpg936\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fswiss\fprq2\fcharset0 Arial;}{\f1\froman\fprq2\fcharset0 Times New Roman;}{\f2\fnil\fprq1\fcharset134 Fixedsys;}}
|
|
{\colortbl ;\red0\green128\blue0;\red0\green0\blue255;}
|
|
\viewkind4\uc1\pard\ltrpar\b\f0\fs20 Application:\b0 CreateWallsUnderBeams\line\b Revit Platform:\b0 Structure\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 CL Autodesk\line\b Programming Language:\b0 C#\line\b Skill Level:\b0 Medium\line\b Category:\b0 Structure\line\b Type:\b0 ExternalCommand\line\line\b Subject:\b0 Create wall under selected Beams.\line\b Summary:\b0 \line This sample demonstrates how to generate simple rectangular wall(s) under the beam(s) selection. When the command is executed a dialog should appear that contains a drop-down list for all types of wall and a check box for whether the walls are structural. Default should be checked.\i\f1\par
|
|
\pard\ltrpar\fi800\par
|
|
\pard\ltrpar\b\i0\f0 Classes:\b0 \f1\par
|
|
\pard\ltrpar\fi360\f0 Autodesk.Revit.IExternalCommand \par
|
|
Autodesk.Revit.Elements.FamilyInstance\f1\par
|
|
\f0 Autodesk.Revit.Structural.\lang1024 AnalyticalModelFrame\lang1033\f1\par
|
|
\f0 Autodesk.Revit.Creation.Document \i\par
|
|
\pard\ltrpar\i0\f1\par
|
|
\b\f0 Project Files:\b0 \f1\par
|
|
\f0 CreateWallsUnderBeams.cs\par
|
|
\pard\ltrpar\li360 The main DLL source file which contains the class Command which implements interface IExternalCommand.\cf1\lang1024\f2 \cf0\f0 Find the selection of beams in Revit; Make sure all the beams have horizontal analytical line; Show the dialog for the user to select the wall style and Create walls which along and under the path of the beams\cf1\f2 . \f1\par
|
|
\pard\ltrpar\fi400\par
|
|
\pard\ltrpar\cf0\lang1033\f0 CreateWallsUnderBeamsForm.cs\par
|
|
\pard\ltrpar\li345 This file contains a form class contains a drop-down list for all types of wall and a check box for whether the walls are structural\i .\f1\par
|
|
\pard\ltrpar\i0\par
|
|
\b\f0 Description:\b0 \f1\par
|
|
\f0 This sample should provide the following functionalities:\f1\par
|
|
\pard\ltrpar\fi-360\li360\tx360\f0 -\tab Add a command that takes a selection of beams that makes a vertical profile and make a profiled wall using the outline generated by the beams.\par
|
|
-\tab This command will take a selection of beams and draw simple rectangular walls along and under the path of the beams.\par
|
|
-\tab This sample should be worked for only horizontal beam objects.\par
|
|
-\tab When the command is executed a dialog should appear that contains the following:\par
|
|
\pard\ltrpar\fi-360\li720\tx720 -\tab A drop-down list for all types of wall.\par
|
|
-\tab A check box for whether the walls are structural. Default should be checked.\par
|
|
\pard\ltrpar\fi-360\li360\tx360 -\tab Users should be able to select the wall type which will be used in creation. And users can choose to create structural or architecture walls also.\par
|
|
-\tab Users select the required items from these boxes. When OK is clicked. The dialog should be dismissed and simple rectangular walls should be created along and under the path of the selected beams\fs18 .\i\par
|
|
\pard\ltrpar\i0\fs20\par
|
|
\b Instructions:\cf2\b0 \f1\par
|
|
\pard\ltrpar\fi-360\li360\tx360\cf0\f0 1.\tab Open Revit Structure and draw some beams.\par
|
|
2.\tab Select the beams and run this command.\par
|
|
\pard\ltrpar\fi-360\li360 3.\tab Users can select the wall type and choose whether the wall(s) is structural.\par
|
|
\pard\ltrpar\fi-360\li360\tx360 4.\tab Click the OK button.\par
|
|
\pard\ltrpar\fi-360\li360 5.\tab Application will create simple rectangular wall(s) under the beams.\i\par
|
|
}
|
|
|