Skip to content

Code samples for interacting with FieldTwin and the FieldTwin API

License

Notifications You must be signed in to change notification settings

XvisionAS/FieldTwin-Integration-Demo

Repository files navigation

FieldTwin Code Samples

Welcome to the FieldTwin code samples repository. Here you can find examples of how to create a FieldTwin integration or call the FieldTwin API.

Resources

You will find the following resources helpful:

List of samples

Folder Description API / Integration Tags
archived Old samples that are no longer maintained
asset-dumper Exports 3D assets from FieldTwin as Collada files API Javascript, Node.js, API token
doc-tab A minimal single page integration that shows the document files uploaded against an object in FieldTwin Design Integration HTML, Javascript, JWT
events-tab An integration that prints all window messages from FieldTwin as they arrive, and the contents of the decoded JWT. Useful for testing and debugging. Integration HTML, Javascript, JWT
excel-macro Calling the API from an Excel workbook using Excel macros API Excel, VB Script, VBA, API token
metadata-import-export A single page integration that exports/imports metadata to/from an Excel worksheet Integration HTML, Vue.js, Excel, JWT
power-bi Instructions for how to embed a Power BI report inside FieldTwin Integration Power BI
python-notebook Jupyter notebooks for plotting the seabed profile of a connection, sorting connections into length order, and getting and setting metadata values API Python, API token
python-tab An integration that calls a serverless Python function to plot the seabed profile of a connection Integration HTML, Python, Serverless, JWT
scripts/javascript/create-layout Scripts to export a project layout and recreate it in an empty project API Javascript, Node.js, API token
scripts/javascript/warning-zone Script to tag staged assets that fall within a circular zone API Javascript, Node.js, API token
scripts/python Scripts for reading project data and updating metadata values using Python API Python, API token
simple-cost-server Example "Compute Using Server" function for use with the standard Cost tab Integration Javascript, Node.js

About

Code samples for interacting with FieldTwin and the FieldTwin API

Resources

License

Stars

Watchers

Forks

Contributors 9