Files
2024-12-12 10:12:15 +01:00

39 lines
3.0 KiB
Plaintext

{\rtf1\fbidis\ansi\ansicpg1252\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fswiss\fprq2\fcharset0 Arial;}{\f1\fswiss\fprq2\fcharset0 Calibri;}{\f2\froman\fprq2\fcharset0 Times New Roman;}{\f3\fmodern\fprq1\fcharset0 Courier New;}}
{\colortbl ;\red0\green0\blue255;\red1\green0\blue1;}
\viewkind4\uc1\pard\ltrpar\nowidctlpar\b\f0\fs20 Application:\b0 MeasurePanelArea\line\b Revit Platform:\b0 All\line\b Revit Version:\b0 2011.0\line\b First Released For:\b0 2010.\f1 0\f0\line\b Programming Language:\b0 C#\line\b Skill Level:\b0 Beginning\line\b Category:\b0 Geometry\f1\par
\b\f0 Type:\b0 ExternalCommand\line\line\b Subject:\b0 Divided surface panel measurement and modification\par
\par
\b Summary:\b0 \line Measure the area of curtain panels in divided surfaces. Identify panels with area greater than and less than user-specified values. A text file is created in the same folder as the sample DLL file listing the area and element ID of every panel.\par
\b\f2\par
\f0 Classes:\b0 \par
\tab Autodesk.Revit.UI.IExternalCommand\par
\f1\fs22\tab Autodesk.Revit.DB.DividedSurface\par
\tab Autodesk.Revit.DB.Panel\par
\b\f2\fs20\par
\f0 Project Files:\par
\cf1\b0\par
\cf0 Command.cs\par
\tab This file contains the MeasurePanelArea class and is invoked when the external command runs\par
\par
FormPanelArea.cs\par
\tab Creates the user interface and computes the areas in the \cf2\f3 btnCompute_Click\cf0\f0 event.\par
\par
\b Description:\b0 \par
\pard\ltrpar\nowidctlpar\fi-360\li720 1.\tab Find panel families loaded into the massing family\par
2.\tab Create a List containing the selected DividedSurface elements. If no DividedSurface elements are selected, include all DividedSurface elements in the model.\par
3.\tab Find all panels in the DividedSurface elements. The panels are FamilyInstance elements returned by the DividedSurface.GetTileFamilyInstance(GridNode, tileIndex) method.\par
4.\tab Get the area of each panel using FamilyInstance.get_Geometry(opt)\par
\pard\ltrpar\nowidctlpar\fi-360\li1440 a.\tab For partial border panels, get_Geometry returns the panel geometry in a Solid object\par
b.\tab For uncut panels, their geometry is found through Instance.SymbolGeometry.Objects\par
\pard\ltrpar\nowidctlpar\fi-360\li720 5.\tab Change the FamilyInstance.Symbol based on the panel area relative to the range specified by the user in the dialog box.\par
\pard\ltrpar\nowidctlpar\b\f2\par
\f0 Instructions:\cf1\b0 \cf0\par
\pard\ltrpar\nowidctlpar\fi-360\li720\tx360 1.\tab Create one or more massing forms with divided surface(s) and panels applied to these surfaces\par
\pard\ltrpar\nowidctlpar\fi-360\li720 2.\tab If you don't want to analyze all divided surfaces in the model, select the surfaces of interest.\par
3.\tab Run this command\par
4.\tab Enter maximum and minimum values to define the range of allowable panel area\par
5.\tab Select the panel types to be used to identify panels that are below, above, and within the range.\par
6.\tab Push "Compute"\par
\pard\ltrpar\nowidctlpar\fi-360\li360\par
}