mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-08-14 16:54:18 +00:00
38 lines
2.6 KiB
Plaintext
38 lines
2.6 KiB
Plaintext
{\rtf1\fbidis\ansi\ansicpg1252\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fswiss\fprq2\fcharset0 Arial;}{\f1\froman\fprq2\fcharset0 Times New Roman;}}
|
|
\viewkind4\uc1\pard\ltrpar\nowidctlpar\b\f0\fs20 Application:\b0 PointCurveCreation\line\b Revit Platform:\b0 All\line\b Revit Version:\b0 2011.0\line\b First Released For:\b0 2011.0\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 Reference point and Curve By Point creation \par
|
|
\par
|
|
\b Summary:\b0 \line Use equations and external data files to create massing geometry\f1\par
|
|
\b\f0\par
|
|
Classes:\b0 \par
|
|
\tab Autodesk.Revit.DB.ReferencePoint\par
|
|
\tab Autodesk.Revit.DB.PointOnEdge\par
|
|
\tab Autodesk.Revit.DB.CurveByPoints\par
|
|
\tab Autodesk.Revit.DB.Form\par
|
|
\tab\lang1024 Microsoft.Office.Interop.Excel.Application\par
|
|
\tab System.IO.StreamReader\lang1033\fs22\par
|
|
\b\fs20\par
|
|
Project Files:\par
|
|
\b0\par
|
|
Command.cs\par
|
|
\tab This file contains the all classes and implementation of external commands for this sample\par
|
|
Helix.xlsx\par
|
|
\tab Microsoft Excel file with \lang1024 XYZ\lang1033 data that defines a set of points on a helix\par
|
|
Sphere.csv\par
|
|
\tab Comma-delimited text file with \lang1024 XYZ \lang1033 data that defined a set of points on a sphere\f1\par
|
|
\f0\par
|
|
\b Description:\b0 \par
|
|
This sample contains the following commands:\par
|
|
\pard\ltrpar\nowidctlpar\fi-360\li720\lang1024 1.\tab PointsParabola - create reference points following parabolic arcs (such as z = x^2)\lang1033\par
|
|
\lang1024 2.\tab PointsOnCurve - create reference points constrained to a model curve. The points are based on PointOnEdge elements so that the points maintain their relative position if the curve is modified. \lang1033\par
|
|
\lang1024 3.\tab PointsFromExcel - create reference points based on XYZ data in an Excel file\lang1033\par
|
|
\lang1024 4.\tab PointsFromTextFile - create reference points based on comma-delimited XYZ data in a text file\lang1033\par
|
|
\lang1024 5.\tab SineCurve - create curve based on points placed using the equation y=cos(x)\lang1033\par
|
|
\lang1024 6.\tab CatenaryCurve - create curve based on points placed using the equation y=ScalingFactor * CosH(x/ScalingFactor)\lang1033\par
|
|
\lang1024 7.\tab CyclicSurface - create loft form based on curves and points created using the equation z = cos(x) + cos(y)\lang1033\par
|
|
\pard\ltrpar\nowidctlpar\b\par
|
|
Instructions:\b0 \par
|
|
\pard\ltrpar\nowidctlpar\fi-360\li720\tx360 1.\tab Create a new conceptual mass family\par
|
|
\pard\ltrpar\nowidctlpar\fi-360\li720 2.\tab Run the external commands to create the point and curve geometry\par
|
|
}
|
|
|