Files
RevitSdkSamples/SDK/Samples/CreateSimpleAreaRein/CS/ReadMe_CreateSimpleAreaRein.rtf
T
2019-09-11 14:43:53 +02:00

49 lines
4.3 KiB
Plaintext

{\rtf1\fbidis\ansi\ansicpg1252\deff0\deflang1033\deflangfe1033\deftab420{\fonttbl{\f0\fswiss\fprq2\fcharset0 Arial;}}
{\info{\horzdoc}{\*\lchars ([\'7b}{\*\fchars !),.:\'3b?D]\'7d}}
\viewkind4\uc1\pard\ltrpar\nowidctlpar\kerning2\b\f0\fs20 Application:\b0 CreateSimpleAreaRein\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 rectangular AreaReinforcement.\line\b Summary:\b0 \line This sample uses to show how to create AreaReinforcement and change its parameters by Revit API.\par
\par
\b Classes:\b0 \par
\pard\ltrpar\nowidctlpar\fi360 Autodesk.Revit.DB.Structure.AreaReinforcement\par
Autodesk.Revit.DB.Floor\par
Autodesk.Revit.DB.Wall\par
Autodesk.Revit.DB.CurveArray\par
Autodesk.Revit.DB.Structure.AreaReinforcementType\par
Autodesk.Revit.DB.Parameter\par
\pard\ltrpar\nowidctlpar\par
\b Project Files:\par
\b0 CreateSimpleAreaRein.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
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
GeomHelper.cs\par
\pard\ltrpar\nowidctlpar\li359 This file defines a class GeomHelper provides methods to get geometry data use to create AreaReinforcement on wall or slab.\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
\b Description:\b0 \par
This sample will provide the following functionality:\par
\pard\ltrpar\nowidctlpar\fi-360\li360\tx360 -\tab Create an Area Reinforcement in a rectangular shape on the selected slab or wall (except Curtain-Wall and Stacked-Wall). The boundary would be the same as the slab/wall boundaries. The application can verify the boundary of the selected slab/wall is rectangular.\par
\pard\ltrpar\nowidctlpar\fi-360\li360 -\tab A dialog to the user asking for the following information:\par
\pard\ltrpar\nowidctlpar\li420 -\tab Select type of Reinforcement which you want to create\par
-\tab Select \ldblquote Layout Rule\rdblquote in the \ldblquote Construction\rdblquote Parameter Group\par
-\tab All the Layers are listed in the \ldblquote Layer\rdblquote Parameter Group. There are four layers. Each layer should include \ldblquote True\rdblquote or \ldblquote False\rdblquote selection, select \ldblquote True\rdblquote means you can change the property of rebar on this layer, otherwise you can not change them.\par
\pard\ltrpar\nowidctlpar\fi-360\li360\tx360 -\tab The type used for creating Area Reinforcement can be found in the project if user have loaded an AreaReinformentType in the project or have drawn an AreaReinforcement in current project.\par
\pard\ltrpar\nowidctlpar\fi-360\li360 -\tab The slab/wall\rquote s geometry information is available as Geometry property of the Floor/Wall object.\par
-\tab The Parameters in \ldblquote Layer\rdblquote Parameter Group can be found from the Area Reinforcement by using the following generic parameters:\par
\pard\ltrpar\nowidctlpar\li420 -\tab REBAR_SYSTEM_ACTIVE_BOTTOM_DIR_2, \par
-\tab REBAR_SYSTEM_ACTIVE_BOTTOM_DIR_1, \par
-\tab REBAR_SYSTEM_ACTIVE_TOP_DIR_2, \par
-\tab REBAR_SYSTEM_ACTIVE_TOP_DIR_1, \par
-\tab REBAR_SYSTEM_LAYOUT_RULE\par
\pard\ltrpar\nowidctlpar\par
\b Instructions:\b0 \par
\pard\ltrpar\nowidctlpar\fi-360\li360\tx360 1.\tab Draw a structural horizontal rectangular Slab or a structural vertical rectangular Wall and Select it. \kerning0 (Or open RVT file for \ldblquote CreateComplexAreaRein\rdblquote sample)\kerning2\par
\pard\ltrpar\nowidctlpar\fi-360\li360 2.\tab Run this command.\par
}