We have created the app and its working fine using below link
https://learnforge.autodesk.io/#/account/
On this we need to get all data like buildings,floors,rooms,spaces,equipments etc.
(All assets details which is included in uploaded file)
we need to get all the elements and stored in separate datatable.
Is it possible to get / which area we want to use.
kindly please help on this.
Thanks in advance.
Yes, it's possible to get the properties and store.
You can use this Model Derivative API to get the properties.
Related
I am extremely new to Web Development. I'm trying to create a configurator application that can load a part into the viewer, have a menu to modify its dimensions, and update the viewer. So far, I developed a basic Web Application that can create a bucket, upload a file, translate it, and load it into the viewer following this tutorial: https://forge.autodesk.com/developer/learn/viewer-app/overview
Now, I would like to request custom dimensions from the user and update the file with those dimensions. I'm not sure how I can get started with this as I have very little knowledge on the subject. This is the link I found for modifying models: https://learnforge.autodesk.io/#/tutorials/modifymodels
What would be the basic steps to incorporate the modify models code to this? Also, would I need to download AutoCAD/ Inventor/ Revit/ 3ds max to run or test this code? I'm feeling lost and am not sure where to go from here. Any help would be greatly appreciated.
Here is a more complete sample for Inventor: https://github.com/Autodesk-Forge/forge-configurator-inventor
I've successfully installed MediaWiki on my laptop. Here is the entry tease out.
As you can see, the link to this entry on my local host is http://192.168.56.1/wiki/index.php/tease_out. Then I want to use REST API to convert this page to html. The corresponding link on the online Wiktionary is https://en.wiktionary.org/w/rest.php/v1/page/tease_out/html. The desired result is
Then I try http://192.168.56.1/w/rest.php/v1/page/tease_out/html. But it shows
Could you please elaborate on this issue and how to solve it? Please let me know if you need further information.
To make an example Wordpress plugin that shows an image, or at least stores it in the media library, I go out to the NASA Open API and fetch the Astronomy Picture of the Day. I have not yet tested that code, but assuming it works my problem is: then what? I guess I have to parse the return data and somehow get an image file I can upload to the library. I'm used to grabbing pre-known text fields such as data.customerid, etc. but never an image. The API site is not much help. I have gleaned from around here a few references to "base64" but I don't know what that means. I can't find a straightup example if what to do. Any thoughts?
you'll have to do steps along this lines, you are pretty much correct on that:
fetch response from API (example: https://api.nasa.gov/planetary/apod?api_key=DEMO_KEY)
parse url:
use media_sideload_image function in WordPress to save image in media to be able to show it in your plugin or to your users..
I suggest you to start building your plugin from scratch and then when you get stuck post your code here and community can help you better..
I've been struggling with getting leaflet markers to display on a map by pulling in data from a JSON file. I think I'm missing something very fundamental, since I can even copy working example files from Plunker and load them to my hosts web server. It just display's the base map but no markers from the JSON file.
Search "displaying .json files in leaflet" in Stack Overflow and check Plunker link under the one answer to see the example I've been trying to make work on my hosts web server.
I'm placing all four files in the same folder on the web server. Works fine when I run it on Plunker, but not on my hosts web server. Host is GoDaddy :(. I don't get any error messages, just an empty base map layer.
Is there some setting that may be blocking this? Totally stumped. Note, that I can get it to work fine if I hard code my marker data into the web page, but for the project I'm working on there will be way to many data points, so need to pull this from an external file. Here is "live" test example where I just hard code data into web page: http://bwcawild.com/PMA-Pitfall-Lake/Test-Lake/Test2-Lake.html
Anyone got any ideas on this? Thanks for your help.
I want to make a line chart that automatically updates with data from this page: http://www2.nve.no/h/hd/plotreal/Q/0027.00025.000/knekkpunkt.csv
The .csv is updated once per hour, and contains date and two values for amount of water flowing in a river. How can I set up a Highcharts, or similar, to get data from this file, and render to a graph?
I don't have server access to nve.no, where the data is stored.
Appreciate any ideas!
As a part of the ZingChart team, we've received several questions similar to this one. You're likely to initially run in to cross-domain issues when using a resource that is hosted on another domain, especially since you do not have any access to that server.
There are ways around this, however. One method involves using JSONP and YQL (Yahoo! Query Language). Using YQL, you can pull from the URL that you've provided and have the data returned as JSONP.
Here is a JSbin demo that shows this off: http://jsbin.com/hidel/1/edit?html,output
At the beginning I recommend you to visit the working with data article.