Data|Shapes
  • Data-Shapes package Primer
  • Dynamo
    • Geometry.PruneDuplicates
    • Transform.OriginAndVectors
    • Export Views to NavisWorks
  • Interop
    • Excel.Worksheets
    • Export to FBX
  • Revit
    • ActiveDocument.FileSize
    • Add Shared Parameter(s) from txt
    • All Elements In View(s)
    • All Lines of LineStyle
    • Categorie(s) by ENU Name(s)
    • Categories list
    • Document.LengthDisplayUnit
    • Duplicate Element
    • Element(s) cut
    • Filter.IsApplied
    • Get All Linked Docs infos
    • GetLinkedElement.InHostView
    • GetLinkedElement.InHostViewAndCategory
    • Grid.SetVerticalExtents
    • ImportInstance.IsLinked
    • Line LineStyle
    • ModificationTracker.AllChanges
    • ModificationTracker.GeometryChanges
    • ModificationTracker.ModelComparison
    • ModificationTracker.ParameterChanges
    • ParameterGroup list
    • PerformanceAdviserRule Elements
    • PerspectiveView.ByEyePositionTarget
    • RayBounce On Link Category
    • RayBounce On Linked Model
    • Replace viewports by center
    • Room Status
    • Room.Height
    • Select Face (s) (PickObject)
    • Select Model Elements of Category
    • Set Active Family Parameter By Name
    • SharedParameters from txt file
    • SlabShape.AddPoints
    • SlabShape.AddSplitLine
    • ViewSection.ByLine
    • ViewTemplate.IsApplied
    • WallSweepOnWall
  • UI
    • UI.Boolean Data
    • UI.ColorInput Data
    • UI.ConditionalInput Data
    • UI.DataTable input
    • UI.DirectoryPath Data
    • UI.DropDown Data
    • UI.FilePath Data
    • UI.Image Data
    • UI.InputGroup Data
    • UI.Listview Data
    • UI.MultipleInputForm ++
    • UI.RadioButtons Data
    • UI.SelectEdges Data
    • UI.SelectFaces Data
    • UI.SelectLinkedElement(s) Data
    • UI.SelectModelElements Data (ordered)
    • UI.SelectModelElements Data
    • UI.SelectPointsOnFace data
    • UI.Slider Data
    • UI.TextBox Data
    • UI.TextNote Data
    • UI.TreeView input
Powered by GitBook
On this page
  • 1. Description
  • 2. Inputs
  • 3. Output
  1. UI

UI.DataTable input

PreviousUI.ConditionalInput DataNextUI.DirectoryPath Data

Last updated 6 years ago

1. Description

The UI.DataTable input basically allows to add an Excel like data table within a Data Shapes Form using UI.MultipleInputForm++. It enables you to display a 2D data list in the form. The 2D list simply needs to be fed to the “Data” input of the node.

This form input doesn’t only allow displaying the info. It also lets you export it to Excel with some cool features. All you need to do is enter a file name for your export and click on the “Export” button. The exported data is preformatted as a table:

2. Inputs

  • InputName

You can add a title to the DataTable through the “InputName” input:

  • Data

Each sublist is read as a row :

  • FirstRowIsTitle

The “FirstRowIsTitles” input is optional. It lets you set the column header of the data table using the first sublist of your 2D data list. Its default value is false:

  • ShowTitleAndFileInfoInExport

The “ShowTitleAndFilesInfoInExport” input is optional. When set to true, you export your DataTable table along with the active Revit document name and date and time of export. The default value of the input is set to true.

  • OpenExcelAtExport

The “OpenExcelAtExport” input which allows you to set whether you want to automatically open the Excel file when exporting or not (unlike the OOTB write to excel node!)

3. Output

So far, this input doesn’t return anything. It is used for display/export only. It is an interesting way to show data to the user and has a very convenient sorting by column value feature: