mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-08-14 08:44:18 +00:00
24 lines
2.3 KiB
Plaintext
24 lines
2.3 KiB
Plaintext
{\rtf1\fbidis\ansi\ansicpg1252\deff0\deflang1033\deflangfe1033\deftab420{\fonttbl{\f0\fswiss\fprq2\fcharset0 Arial;}{\f1\fnil\fprq2\fcharset134 SimSun;}{\f2\froman\fprq2\fcharset0 Times New Roman;}}
|
|
{\info{\horzdoc}{\*\lchars ([\'7b\'b7\'91\'93<\'ab?????(.[\'7b??}{\*\fchars !),.:\'3b?]\'7d\'a8\'b7?\'af??\'92\'94\'85:????>\'bb?????!"'),.:\'3b?]`|\'7d~?}}
|
|
\viewkind4\uc1\pard\ltrpar\nowidctlpar\qj\kerning2\b\f0\fs20 Application:\b0 BarDescriptions\line\b Revit Platform:\b0 Structure\line\b Revit Version:\b0 2011.0\line\b First Released For:\b0 9.0\line\b Programming Language:\b0 C#\line\b Skill Level:\b0 Beginning\line\b Category:\b0 Structure\line\b Type:\b0 ExternalCommand\line\line\b Subject:\b0 Parameters of BarDescriptions.\line\b Summary:\b0 \line This sample shows how to get parameters of BarDescriptions in a table. And allow the parameters information of BarDescriptions to be saved in an Excel .CSV file.\b\par
|
|
\par
|
|
Classes: \par
|
|
\pard\ltrpar\nowidctlpar\fi360\qj\b0 Autodesk.Revit.UI.IExternalCommand\par
|
|
Autodesk.Revit.DB.Structure.AreaReinforcement \par
|
|
Autodesk.Revit.DB.Structure.BarDescription\par
|
|
\pard\ltrpar\nowidctlpar\qj\par
|
|
\b Project Files: \par
|
|
\b0 BarDescriptions.cs\par
|
|
\pard\ltrpar\nowidctlpar\li359\qj This file defines class Command which Implements the IExternalCommand interface, and show user how to get BarDesscription and change its parameters.\par
|
|
\pard\ltrpar\nowidctlpar\qj\par
|
|
BarDescriptionsForm.cs\par
|
|
\pard\ltrpar\nowidctlpar\li359\qj This file defines a class BarDescriptionsForm inherit from Form.\f1\fs21 \f0\fs20 BarDescriptionsForm contains a list use to show all the Ids of AreaReinforcement and a DataGridView use to show information of BarDescription.\par
|
|
\pard\ltrpar\nowidctlpar\qj\f2\par
|
|
\b\f0 Description:\b0 \par
|
|
\pard\ltrpar\nowidctlpar\fi1\qj This sample shows user how to find all BarDescriptions in the project and display their properties in a DataGridView. And allow the parameters information of BarDescriptions to be saved in an Excel .CSV file. The BarDescription is a property of an AreaReinforcement element, so some AreaReinforcement elements should be drawn first.\par
|
|
\pard\ltrpar\nowidctlpar\qj\f2\par
|
|
\b\f0 Instructions:\b0 \par
|
|
1.\tab Draw some AreaReinforcements. (or open RVT file for AreaReinCurve sample)\par
|
|
2.\tab Run this command.\par
|
|
}
|
|
|