Autodesk Forge: How to get started with creating a configurator - autodesk-forge

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

Related

How to get all data from forge viewer

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.

wkhtmltopdf does not convert to pdf

Hi ,
I just changed my server and from what i understand i have installed all the dependencies required for this. But still i am unable to view my PDF instead a distorted code is shown and what's more annoying is that i have a bunch of projects in CODEIGNITOR Framework that are working fine but this project is developed in laarvel 5.
Is there any additional dependency for laravel or am i doing it wrong at some place.
I just joined a new team and don't know their whole programming structure yet.
The image-content you posted looks like a valid PDF - looking at it by a text viewer.
Did you try to open it with a pdf viewer?

Cannot get JSON data to display on Leaflet map

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.

How to get change in HTML DOM in LabVIEW?

I am doing IOT related project in Labview using Arudino as hardware.
I was able switch off/on an led on Arudino by Pressing OFF/ON on website by using datasocket vi. Now what i want is to control the intensity of led from Website.
I have a range slider in my website and its real time value can be viewed in textarea,div,input type.
Is there any way i can get that real time value that is being changed in HTML DOM in Labview.
I know that datasocket vi returns the html source code but not the HTML DOM.
I dont want to use the Web Publishing Services as they dont work in my Laptop.
This is the link im referring for datasocket.
Datasocket Labview
You can do something like creating a web socket, but I expect the easiest thing is to use a web service. You can create one in LV and add a setLEDIntensity method to it and call it from your JS code. You can find a simple example here and in other documents in that community.
Use WebSocket API for LabVIEW to send and receive data from the web. This is the best option for you.
https://decibel.ni.com/content/docs/DOC-40572

Creating a server / service client

I have been developing an app that has to access a DB and return data has charts in a web page. since it is to be added to another software i had to create it as a local server / servce, using self host web api, returning the data as json so i can read it in my html file and create the charts.
The server / service works, but my problem remains on the client. I don't know if i have to create another project for my html or if i just add a folder with my html and all css and javascript.
Basically when i run it i have to display my html file.
I have been looking the web for examples / solutions but i can't seem to find one that will help me, i've checked:
creating help pages with T4, but it includes all my css and js files in my html and when i want to change something i have to remove the include, debug and include it again;
create a web app but when i run it it creates me 2 servers, the one i've created and the web page server, although my web page will access it using angularjs, i can't have the second server;
I'm a little lost on how i will do it.
Can someone give me some help?
I'm using VS2010, self-host WebApi, console app, entity framework, angularjs, nvd3 and d3.
thk
If you have developed your project using MVC4 you can create view/controller related to report in webapi project.Point add html files to this view.This won't create 2 servers.