mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-08-06 05:01:35 +00:00
25 lines
2.1 KiB
Plaintext
25 lines
2.1 KiB
Plaintext
{\rtf1\fbidis\ansi\ansicpg1252\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fswiss\fprq2\fcharset0 Arial;}{\f1\froman\fprq2\fcharset0 Times New Roman;}}
|
|
{\colortbl ;\red0\green0\blue255;}
|
|
\viewkind4\uc1\pard\ltrpar\nowidctlpar\b\f0\fs20 Application:\b0 DeckProperties\line\b Revit Platform:\b0 All\line\b Revit Version:\b0 2011.0\line\b First Released For:\b0 8.1\line\b Programming Language:\b0 C#\line\b Skill Level:\b0 Beginning\line\b Category:\b0 Parameters\line\b Type:\b0 ExternalCommand\line\line\b Subject:\b0 Display Deck Layer Properties.\line\b Summary:\b0 \line This sample shows that how to get the properties of deck layer by RevitAPI\f1 .\par
|
|
\b\par
|
|
\f0 Classes:\b0 \par
|
|
\pard\ltrpar\nowidctlpar\fi360 Autodesk.Revit.UI.IExternalCommand\par
|
|
Autodesk.Revit.DB.CompoundStructureLayer\f1\par
|
|
\f0 Autodesk.Revit.DB.FloorType\f1\par
|
|
\f0 Autodesk.Revit.DB.CompoundStructureLayerFunction\par
|
|
\pard\ltrpar\nowidctlpar\b\f1\par
|
|
\f0 Project Files:\cf1\b0\par
|
|
\cf0 Command.cs\f1\par
|
|
\pard\ltrpar\nowidctlpar\fi360\f0 This file contains the functions that how to get the properties of deck layer\f1 .\par
|
|
\pard\ltrpar\nowidctlpar\f0\par
|
|
\b Description:\b0 \par
|
|
\pard\ltrpar\nowidctlpar\fi-360\li360\tx360 -\tab Display the properties deck layer in a list. It contains Deck Profile, Deck Material, Concrete cover thickness and Concrete Material\f1 .\par
|
|
\pard\ltrpar\nowidctlpar\fi-360\li360\f0 -\tab For concrete slabs, it contains Concrete thickness and Concrete material.\f1\par
|
|
\f0 -\tab The CompoundStructureLayer layers can be obtained from the Autodesk.Revit.DB.FloorType\rquote s CompoundStructureLayer property.\par
|
|
\pard\ltrpar\nowidctlpar\b\par
|
|
Instructions:\cf1\b0 \cf0\par
|
|
\pard\ltrpar\nowidctlpar\fi-360\li360\tx360 1.\tab Draw a floor which contains some layers in Revit UI. A sample project file SlabProperties.rvt is available in the SlabProperties sample\rquote s folder.\par
|
|
\pard\ltrpar\nowidctlpar\fi-360\li360 2.\tab Select the floor and run the command, it will show all the deck layer properties of the selected floor in a list.\par
|
|
\pard\ltrpar\nowidctlpar\f1\fs24\par
|
|
}
|
|
|