mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-08-06 05:01:35 +00:00
25 lines
1.7 KiB
Plaintext
25 lines
1.7 KiB
Plaintext
{\rtf1\ansi\ansicpg1252\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fswiss\fprq2\fcharset0 Arial;}{\f1\froman\fprq2\fcharset0 Times New Roman;}{\f2\fnil\fcharset0 Calibri;}}
|
|
{\*\generator Msftedit 5.41.21.2510;}\viewkind4\uc1\pard\b\f0\fs20 Application:\b0 CapitalizeAllTextNotes\line\b Revit Platform:\b0 All\line\b Revit Version:\b0 2017.0\line\b First Released For:\b0 2017.0\line\b Programming Language:\b0 C#\line\b Skill Level:\b0 Beginning\line\b Category:\b0 Basics, Annotation\line\b Type:\b0 ExternalCommand\line\line\b Subject:\b0 Capitalize All Text\line\b Summary:\b0 \line Capitalizes all the text of all the TextNotes in the project by formatting the text to use 'AllCaps'\i\f1\par
|
|
\i0\par
|
|
\b\f0 Classes:\b0\par
|
|
\pard\fi180\li180 Autodesk.Revit.UI.IExternalCommand\par
|
|
Autodesk.Revit.DB.TextNote\par
|
|
Autodesk.Revit.DB.FormattedText\par
|
|
\lang1036\f1\par
|
|
\pard\lang1033\b\f0 Project Files:\b0 \i\par
|
|
\i0 CapitalizeAllTextNotes.cs\par
|
|
\pard\li360 This file contains the class Command which inherits from interface IExternalCommand and implements the Execute method.\par
|
|
\pard\lang1036\f1\par
|
|
\lang1033\b\par
|
|
\f0 Description:\b0 \f1\par
|
|
\pard\fi-360\li360\f0 This command does the following:\par
|
|
- Find all TextNote instances in the document\par
|
|
- Change the text formatting to 'AllCaps' on the entire range of text.\par
|
|
\pard\f1\par
|
|
\b\f0 Instructions:\b0 \f1\par
|
|
\pard{\pntext\f0 1.\tab}{\*\pn\pnlvlbody\pnf0\pnindent0\pnstart1\pndec{\pntxta.}}
|
|
\fi-360\li360\f0 Open a Revit project or family that contains text notes.\par
|
|
{\pntext\f0 2.\tab}Execute the command.\par
|
|
\pard\sa200\sl276\slmult1 All TextNotes will have their text formatted to be rendered using upper case characters.\lang9\f2\fs22\par
|
|
}
|
|
|