mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-09-09 21:23:32 +00:00
37 lines
3.8 KiB
Plaintext
37 lines
3.8 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 CreateWallinBeamProfile\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 with Profile of selected Beams.\line\b Summary:\b0 \line This sample demonstrates how to generate a wall which has the profile of beams selection. When the command is executed\f1 ,\f0 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.\f1\par
|
|
\pard\ltrpar\fi800\par
|
|
\pard\ltrpar\b\f0 Classes:\b0 \f1\par
|
|
\pard\ltrpar\fi360\f0 Autodesk.Revit.IExternalCommand \par
|
|
Autodesk.Revit.Elements.FamilyInstance\f1\par
|
|
\f0 Autodesk.Revit.Geometry.Curve\f1\par
|
|
\f0 Autodesk.Revit.Creation.Document \par
|
|
\pard\ltrpar\f1\par
|
|
\b\f0 Project Files:\b0 \f1\par
|
|
\f0 CreateWallinBeamProfile.cs\par
|
|
\pard\ltrpar\li360 The main DLL source file contains the class Command which implements interface IExternalCommand.\cf1\lang1024\f2 \cf0\f0 Get necessary data from revit. Check whether the selected beams are made of a colsed and vertical profile. Show the dialog for the user to select the wall type. Create the walls using the outline generated by the beams.\cf1\f2 \f1\par
|
|
\pard\ltrpar\fi400\par
|
|
\pard\ltrpar\cf0\lang1033\f0 CreateWallinBeamProfileForm.cs\f1\par
|
|
\pard\ltrpar\li345\f0 This file contains a form class which includes a drop-down list for all types of wall and a check box for whether the walls are structural.\f1\par
|
|
\pard\ltrpar\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
|
|
\pard\ltrpar\fi-360\li360 -\tab This sample should be worked for only a selection of beams that makes a vertical profile.\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\f1 -\f0 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 wall type which will be used in creation. And the users can choose to create structural or architecture walls also.\par
|
|
\pard\ltrpar\fi-360\li360 -\tab Users select the required items from these boxes. When OK is clicked the dialog should be dismissed and a profile wall should be created using the outline generated by the beams.\par
|
|
\pard\ltrpar\par
|
|
\b Instructions:\cf2\b0 \f1\par
|
|
\pard\ltrpar\fi-360\li360\tx360\cf0\f0 1.\tab Run Revit Structure\f1 .\f0\par
|
|
\pard\ltrpar\fi-360\li360 2.\tab Prepare your Revit project.\par
|
|
\pard\ltrpar\li360 Open or new a Revit project and draw some beams which made of a closed and vertical profile. A sample project file CreateWallinBeamProfile.rvt is available in the sample\rquote s folder\f1\par
|
|
\pard\ltrpar\fi-360\li360\tx360\f0 3.\tab Select these beams and run this command.\par
|
|
\pard\ltrpar\fi-360\li360 4.\tab User can select wall type and choose whether the wall is structural.\par
|
|
\pard\ltrpar\fi-360\li360\tx360 5.\tab Click the OK button.\par
|
|
\pard\ltrpar\fi-360\li360 6.\tab Application will create a profiled wall using the beams selection\rquote s outline.\par
|
|
}
|
|
|