Files
2021-04-20 11:36:21 +02:00

45 lines
4.9 KiB
Plaintext

{\rtf1\fbidis\ansi\ansicpg1252\deff0\deflang1033\deflangfe1033\deftab420{\fonttbl{\f0\fswiss\fprq2\fcharset0 Arial;}{\f1\froman\fprq2\fcharset0 Times New Roman;}}
{\colortbl ;\red0\green0\blue0;\red255\green255\blue255;}
{\info{\horzdoc}{\*\lchars ([\'7b}{\*\fchars !),.:\'3b?D]\'7d}}
\viewkind4\uc1\pard\ltrpar\nowidctlpar\kerning2\b\f0\fs20 Application:\b0 CreateComplexAreaRein\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 Medium\line\b Category:\b0 Structure\line\b Type:\b0 ExternalCommand\line\line\b Subject:\b0 Create AreaReinforcement.\line\b Summary:\b0 \line This sample demonstrates how to create AreaReinforcement by Revit API and change its parameters.\par
\par
\b Classes:\b0 \par
\pard\ltrpar\nowidctlpar\fi360 Autodesk.Revit.DB.Structural.AnalyticalModel\par
Autodesk.Revit.DB.CurveArray\par
Autodesk.Revit.DB.Line\par
Autodesk.Revit.DB.Structural.AreaReinforcementType\par
\lang1031 Autodesk.Revit.DB.ElementIterator\par
\lang1033 Autodesk.Revit.DB.Solid\par
\pard\ltrpar\nowidctlpar\par
\b Project Files:\par
\b0 CreateComplexAreaRein.cs\par
\pard\ltrpar\nowidctlpar\li359 Implement the IExternalCommand interface, and show user how to create AreaReinforcment and change its parameters.\par
\pard\ltrpar\nowidctlpar\par
AreaReinData.cs\par
\pard\ltrpar\nowidctlpar\li359 Data and data manager of the AreaReinforcement. Store all kinds of AreaReinforcementType in current project and contain method use to change value of parameter.\par
\pard\ltrpar\nowidctlpar\par
GeomUtil.cs\par
\pard\ltrpar\nowidctlpar\li359 This file defines a class GeomUtil provides some common geometry estimate and calculates methods.\par
\pard\ltrpar\nowidctlpar\par
ParameterUtil.cs\par
\pard\ltrpar\nowidctlpar\li359 This file defines a class ParameterUtil contains methods use to manage parameter. Such as find parameter by name and change value of parameter.\par
\pard\ltrpar\nowidctlpar\par
\par
\b Description:\b0 \par
\pard\ltrpar\nowidctlpar\fi-360\li360\tx360 -\tab This sample shows how to create AreaReinforcement by Revit API and set the parameter.\par
\pard\ltrpar\nowidctlpar\fi-360\li360 -\tab Create slab reinforcement with all four layers, and with two rectangular curve loops, nested, so that we have a rectangular opening.\par
-\tab On the interior 4 curves, set the override flag and flip the hooks on the top 2 layers to \ldblquote up\rdblquote .\par
-\tab The type used for creating Area Reinforcement can be found in the project if user has loaded an AreaReinformentType in the project.\par
-\tab The slab/wall\rquote s geometry information is available as Geometry property of the Floor/Wall object.\par
-\tab The property \lquote layout rule\rquote can be found from the Area Reinforcement by using the following generic parameters: REBAR_SYSTEM_LAYOUT_RULE\par
-\tab The properties of the AreaReinforcement Curve can be obtained by following generic parameters:\par
\trowd\trgaph108\trleft-108\trbrdrt\brdrs\brdrw10 \trbrdrl\brdrs\brdrw10 \trbrdrb\brdrs\brdrw10 \trbrdrr\brdrs\brdrw10 \clbrdrt\brdrw15\brdrs\clbrdrl\brdrw15\brdrs\clbrdrb\brdrw15\brdrs\clbrdrr\brdrw15\brdrs \cellx4133\clbrdrt\brdrw15\brdrs\clbrdrl\brdrw15\brdrs\clbrdrb\brdrw15\brdrs\clbrdrr\brdrw15\brdrs \cellx8748\pard\intbl\ltrpar\sl276\slmult1\f1\fs21 Name\cell Build in Parameter\cell\row
\trowd\trgaph108\trleft-108\trbrdrt\brdrs\brdrw10 \trbrdrl\brdrs\brdrw10 \trbrdrb\brdrs\brdrw10 \trbrdrr\brdrs\brdrw10 \clbrdrt\brdrw15\brdrs\clbrdrl\brdrw15\brdrs\clbrdrb\brdrw15\brdrs\clbrdrr\brdrw15\brdrs \cellx4133\clbrdrt\brdrw15\brdrs\clbrdrl\brdrw15\brdrs\clbrdrb\brdrw15\brdrs\clbrdrr\brdrw15\brdrs \cellx8748\intbl Override Area Reinforcement Settings\cell\cf1\highlight2\lang1024\kerning0 REBAR_SYSTEM_OVERRIDE\cf0\highlight0\lang1033\kerning2\cell\row
\trowd\trgaph108\trleft-108\trbrdrt\brdrs\brdrw10 \trbrdrl\brdrs\brdrw10 \trbrdrb\brdrs\brdrw10 \trbrdrr\brdrs\brdrw10 \clbrdrt\brdrw15\brdrs\clbrdrl\brdrw15\brdrs\clbrdrb\brdrw15\brdrs\clbrdrr\brdrw15\brdrs \cellx4133\clbrdrt\brdrw15\brdrs\clbrdrl\brdrw15\brdrs\clbrdrb\brdrw15\brdrs\clbrdrr\brdrw15\brdrs \cellx8748\intbl Top Major Hook Orientation\cell\cf1\highlight2\lang1024\kerning0 REBAR_SYSTEM_HOOK_ORIENT_TOP_DIR_1\cf0\highlight0\lang1033\kerning2\cell\row
\trowd\trgaph108\trleft-108\trbrdrt\brdrs\brdrw10 \trbrdrl\brdrs\brdrw10 \trbrdrb\brdrs\brdrw10 \trbrdrr\brdrs\brdrw10 \clbrdrt\brdrw15\brdrs\clbrdrl\brdrw15\brdrs\clbrdrb\brdrw15\brdrs\clbrdrr\brdrw15\brdrs \cellx4133\clbrdrt\brdrw15\brdrs\clbrdrl\brdrw15\brdrs\clbrdrb\brdrw15\brdrs\clbrdrr\brdrw15\brdrs \cellx8748\intbl Top Minor Hook Orientation\cell\cf1\highlight2\lang1024\kerning0 REBAR_SYSTEM_HOOK_ORIENT_TOP_DIR_\highlight0 2\cell\cf0\lang1033\kerning2\row
\pard\ltrpar\nowidctlpar\b\f0\fs20\par
Instructions:\b0 \par
1.\tab Draw a rectangular Slab (or open CreateComplexAreaRein.rvt) and Select it. \par
2.\tab Run this command.\par
}