Skip to content

Nodes List

Pabloderen edited this page Nov 8, 2018 · 7 revisions

This is a brief description of the default Navisworks nodes included on each category

API

API nodes provide access to properties inherent to Navisworks and generic classes. They can be used to enhance accessibility to information.


GetAPIParameters

Return list of parameters in element class. It can be used as a guide to query parameters values.

GetAPIPropertyValue

Returns value of class property


Appearance

As the appearance profiler in Navisworks is not accesible by the API, you could recreate some of its features with the Appearance nodes.

GetJsonProfileFromXML

Creates an Json version of the SearchSet sxml to be read by SetAppearanceByProfile

SetAppearanceByProfile

Applies color and transparency to SearchSets settled in json profile

SetAppearanceBySelection

Applies color and transparency to selection


Clash

Clash nodes allows you to access and work with Clash Detective functionality. You can group, rename or query Clash Test, Clash groups and individual clashes.

ASDKGroupByCluster

Group clashes in clash test by cluster. From ASDK SDK examples.

ASDKGroupByGridIntersection

Group clashes in clash test by nearest grid intersection. From ASDK SDK examples. This node will not work if current document has no Grids.

ASDKGroupByLevel

Group clashes in clash test by nearest level. From ASDK SDK examples. This node will not work if current document has no levels.

ASDKGroupByModel

Group clashes in clash test by Model. Input Model is a model in current document. From ASDK SDK examples.

BIM42Group

Port of awesome BIM42 addin, this node group clashes in by Level, Grid, Selection, Assignation, Approval or Status. This nodes can group clashes twice. It has everything built-in as dropdown boxes.

CompactAllTests

Compact all clashes, run it disconnected or put any input to order the execution after any other node.

GetClashInfo

Reports all relevant information (ok, maybe to much) from Clash result (group or single). Works great to export a report of clashes or to use it with RenameClash node. Needs to be connected to GetClashResults.

GetClashResults

Return result of clashes from clash test.

GetClashTest

Return clash tests in current document

GetElementsInClash

Return list elements involved on each clash result (group or single clash).

RefreshAllClashTests

Refresh all clashes in current document

RenameClashesByGuid

Rename a clash result by GUID. It's a good idea to use in excel/CSV after exporting the info with GetClashInfo's Clash Name and GUID


Comments

GetComment

Gets Comments list associated with SavedItem: e.g. Clash or Viewpoint


Excel

FileWorkSheets

Get all the worksheets as a list of strings

ReadFromFile

Read Excel data. The node takes all used cells in the spreadsheet from the first worksheet available

WriteToFile

Write Excel data. The node takes a List and writes each element in a different cell


Input

DoubleSlider

Slider of doubles with range and steps. Original VPLControl node

FilePathNode

File path dialog. Original VPLControl node

IntegerSlider

Slider of integers with range and steps. Original VPLControl node

ExportAsCSV

Export input list content as string to CSV file

ReadCSV

Read content of file and format as CSV input

ReadTextFileNode

Read text from file. Input is a path.

SaveFile

Save file dialog. Select where to save a file

WriteTextToPath

Write text to file


List

Nodes to works with lists.

FilterMask

Filter a list by a boolean mask

GetItemAtIndex

Get item of list at an specific index

ListFlatten

Flatten a list by specific level

ListTranspose

Transpose list of lists


Navisworks

Nodes to work with general Navisworks objects, like documents.

CurrentDocument

Get current Navisworks document

CurrentModelName

Get current document's name

GetValueByCatProp

Return value of ModelItem property by category (tab name) and property

ModelsInDocument

Get models appended to current document

RefreshLinks

Refresh all links (NWC, NWD) in current document

SaveNWFile

Save current document as NWF or NWD depending on the extension used on the file path

SetValueByCatProp

Write properties to ModelItems into an UserTab. Category is the name of the UserTab


Selection

Nodes to works with selections and selected elements in Model.

GetSearchSets

Return all SelectionSets and SearchSets available in current model. SearchSets can be filters using GetAPIParameterValue and quering HasSearch for true

GetElementFromSearch

Returns elements in SearchSet

GetCurrentSelection

Returns elements in current selection

CreateSearchSet

Create a SearchSet based on a simple search by Category, property and Value

CreateSearch

Creates a simple search (conditions = value) to be used with "SetSearchRelation" and "CreateSearchSetFromSearch". All inputs are strings, Negate inverts the search .

SetSearchRelation

Join two Searchs by concatenation (AND) or group (OR)

CreateSearchSetsFromSearch

Creates a search set from a search

Example of use

Image below shows an example of search set creation from strings. You can replace the string input with text from Excel/CSV.


String

Nodes to work with strings (text)

StringToLower

Return string all in lower

StringToUpper

Return string in UPPER

StringContains

Returns true if string contains specific substring

StringReplace

Replace substring in string


Viewpoints

Nodes to work with viewpoints

GetViewpoints

Return all viewpoints in current document

RenameViewpoints

Rename viewpoint by name string

RenameViewpointsByGUID

Rename viewpoint by its GUID and new name as strgin. Great to use with a CSV list of GUIDs/Names

ExportViewpoint

Export viewpoint. Set file path, name and image widht and height