CADTextData Nodes

Extract and query text data from CAD Links or Imports in Revit without exploding.

The CADTextData nodes provide access to text from linked or imported CAD files using recursive algorithms that work through nested blocks to any depth. This non-destructive approach bypasses Revit's 10,000-element explode limitation, automatically computing geometric transformations for accurate positioning, rotation, and scaling - enabling workflows from creating Revit text notes to extracting survey data for toposurfaces.


FromLayers

Provides rapid extraction of text data from linked or imported CAD files in Revit. The node avoids exploding the CAD instance so it is not restricted to Revits 10,000 element limit.

Inputs

importInstanceImportInstance
layerNamesstring[]

Outputs

CADTextData[][]CADTextData[]
layerKeys[]string[]

Features

  • Extracts all text entities from an input CAD link or import (ImportInstance's)
  • Avoids explode so there is no element limit and no need to pre-process your CAD file
  • Works recursively to extract text data from any blocks with nested blocks to n-depth
  • Supports all Revit documents and Families
  • Supports all valid view types, including Section, Elevation, and Legend views
  • Supports shared coordinates and rotations from true north
  • Supports translated, scaled, mirrored and rotated Import Instances
  • Dynamically adjusts units from the CAD file to your display units in Revit
  • Compatible with Dynamo Player

User Guide

FromLayers example


Color

Returns the color of the CADTextData object extracted from a Revit CAD link or import.

Inputs

cADTextDataCADTextData

Outputs

ColorColor

Features

  • Retrieves the text color from CAD links or imports in Revit
  • Works with CADTextData objects extracted via the FromLayers node

User Guide

Color example


FontFile

Returns the name of the font file name applied to text extracted from a Revit CAD link or import.

Inputs

cADTextDataCADTextData

Outputs

stringstring

Features

  • Retrieves the font file name assigned to text sourced from a Revit CAD link or import

User Guide

FontFile example


FontTypeName

Returns the font name applied to the text extracted from a Revit CAD link or import.

Inputs

cADTextDataCADTextData

Outputs

stringstring

Features

  • Retrieves the font name applied to text sourced from Revit CAD links or imports

User Guide

FontTypeName example


Height

Returns the height of the CADTextData object extracted from a Revit CAD link or import. The value is returned in the same units as the active Revit document.

Inputs

cADTextDataCADTextData

Outputs

doubledouble

Features

  • Retrieves text height measurements from CAD imports or linked files within Revit
  • Maintains consistency with the active document's unit system

User Guide

Height example


HorizontalAlign

Returns the horizontal alignment setting of the text extracted from a Revit CAD link or import.

Inputs

cADTextDataCADTextData

Outputs

stringstring

Features

  • Retrieves the horizontal alignment setting of text sourced from a Revit CAD link or import

User Guide

HorizontalAlign example


IsBold

Returns true if the text extracted from a Revit CAD link or import is bold, otherwise returns false.

Inputs

cADTextDataCADTextData

Outputs

boolbool

Features

  • Returns true if the text extracted from a Revit CAD link or import is bold

User Guide

IsBold example


IsItalic

Returns true if the text extracted from a Revit CAD link or import is italic, otherwise returns false.

Inputs

cADTextDataCADTextData

Outputs

boolbool

Features

  • Returns true if the text extracted from a Revit CAD link or import is italic

User Guide

IsItalic example


LayerName

Returns the name of the layer assigned to the text extracted from a Revit CAD link or import.

Inputs

cADTextDataCADTextData

Outputs

stringstring

Features

  • Retrieves layer name information for text elements sourced from CAD imports or linked files in Revit projects

User Guide

LayerName example


OriginPoint

Returns the placement point of the text entity extracted from a Revit CAD link or import.

Inputs

cADTextDataCADTextData

Outputs

PointPoint

Features

  • Returns the placement point of the text entity extracted from a Revit CAD link or import

User Guide

OriginPoint example


Rotation

Returns the rotation of the text entity extracted from a Revit CAD link or import in degrees.

Inputs

cADTextDataCADTextData

Outputs

doubledouble

Features

  • Retrieves rotational values in degrees for text entities sourced from Revit CAD links or imported CAD files

User Guide

Rotation example


TextValue

Returns the text string value extracted from a Revit CAD link or import.

Inputs

cADTextDataCADTextData

Outputs

stringstring

Features

  • Returns the text string value extracted from a Revit CAD link or import

User Guide

TextValue example


VerticalAlign

Returns the vertical alignment setting of the text extracted from a Revit CAD link or import.

Inputs

cADTextDataCADTextData

Outputs

stringstring

Features

  • Retrieves the vertical alignment setting of text sourced from a Revit CAD link or import

User Guide

VerticalAlign example


WidthFactor

Returns the width factor of the text extracted from a Revit CAD link or import. This value can be used to determine if the text has been stretched or shrunk.

Inputs

cADTextDataCADTextData

Outputs

doubledouble

Features

  • Returns the width factor of the text extracted from a Revit CAD link or import

User Guide

WidthFactor example