Autodesk-Forge / viewer-javascript-visual.reports

DEPRECATED, please use https://github.com/Autodesk-Forge/bim360appstore-viewer-nodejs-visual.reports
MIT License
14 stars 14 forks source link

how can use with my own revit models? #18

Open johnfelipe opened 6 years ago

johnfelipe commented 6 years ago

stay alert

jaimerosales commented 6 years ago

List of models being used by this sample are located here.

https://github.com/Autodesk-Forge/viewer-javascript-visual.reports/blob/master/src/scripts/models.js

You will probably have to setup your own URN's with a valid Token that connects to those URN's.

As an FYI, This sample most likely will be retired soon. I worked on a similar one that has access to BIM 360 Docs and Team Services Hubs which is located here https://github.com/Autodesk-Forge/bim360appstore-viewer-nodejs-visual.reports

And if you want to load only the Visual Reports with your models you can use better the AEC-visual-reports one.

johnfelipe commented 6 years ago

in here where can edit key and secret?

jaimerosales commented 6 years ago

The only key that can get generated again is the Secret. I will recommend get a new set if what you are looking to do is change them completely.

johnfelipe commented 6 years ago

Here how put env variables or export FORGE_CLIENT_ID='REPLACE_ME' export FORGE_CLIENT_SECRET='REPLACE_ME'

or here works differently?

jaimerosales commented 6 years ago

This sample as I mentioned has not been maintain in a while, the main reason is this does not have a Token setup like all the other ones. You might have some difficulty setting this up.

johnfelipe commented 6 years ago

ok ok, tnks i wil wait others then

jaimerosales commented 6 years ago

My advice, check the one I mentioned to you https://github.com/Autodesk-Forge/bim360appstore-viewer-nodejs-visual.reports This is basically doing the same d3 graphs, the only difference is I'm loading the models from a Storage location using another of our API's. Do you have an A360 account? I'm sure you can get one for free and upload your models there to then access them from this sample. Try it, why not?

https://a360.autodesk.com/