The question about paying credit on Design automation - autodesk-forge

I am using Forge design automation function in the project.
I checked the cost at https://forge.autodesk.com/pricing.
It is said that 6 credits are consumed per hour.
I tested credit consumption per execution once in my project.
Two credits were consumed for one run.
In my project, the work lasts about 30 seconds, but I don't know why 2 credits are paid.
Please tell me how to calculate credit consumption.

The tooltip on the pricing page says:
Every second of processing Work Items (including file transfer time between systems) submitted through the Design Automation API is included in the number of processing hours.
Since you haven't provided any details it's hard to say, but please note that downloading of input files and uploading of output files is also included in the processing time.
What kind of task did you try and run in the Design Automation service? Was it perhaps inputting or outputting some large design file?

Related

What need for an automatic design project? My project is very slow

After showing the house to the forge viewer using a Ravit file, the user wants to modify the contents of the viewer and receive it as a Ravit file again. What function should I use to implement the above?
https://learnforge.autodesk.io/#/
I referred to it.
my project
I make input data and transfer this to design automation and get output file and file to translate viewer (this is 2 minutes).
This process is very slow I want better then this process.
https://www.autodesk.com/autodesk-university/class/Its-Not-Too-Late-Automate-Using-Forge-Design-Automation-Inventor-2021#video
This video looks very fast on work process. How to get fast work process like this video?
Thank you
The Forge Viewer is a viewer, not an editor.
The Forge viewer displays the translated version of a seed CAD model, in this case, a Revit RVT BIM.
You cannot edit or modify the CAD seed file in the viewer.
To achieve such a modification, you have to either use the original modelling software, in this case, Revit on the Windows desktop, or you can use the Forge Design Automation API for Revit.
That is what was used to create the Inventor sample you refer to.
Oops... re-reading your question, I see that you are already using design automation yourself as well. Congratulations on that.
However, there is no guarantee on the turn-around time for this process. The video may very well have been edited to eliminate a waiting period, of the user creating the video may just have been very lucky to achieve a faster turn-around time.
I am checking for you with the Forge team whether they used any additional tricks to speed things up in the video or in the true real-time processing. They confirm:
For Revit, a basic DA job should take up to 30-40 secs for the processing time alone. The derivative job for translation to viewer format could take another minute. So, 2 mins is expected. The sketch it demo video has a timer on the side to indicate real time.

Translation from IFC to SVF way too slow

I tried to translate a big IFC file (150mb) for the veiwer and it took around 15 minutes only the translation without the uploading part. So is such translation time normal and can it be done something about it? I am currently using the free credits only for testing. Is there a performance increase with the paid credits?
The /modelderivative/v2/regions/eu/designdata/job is used with the advanced conversionMethod:modern.
No, there is no performance difference between trial and paid accounts. Forge dev account with a valid trial plan can use full Forge features as paid one as I know.
What happened after submitting a translation job?
After submitting a translation request and it returns success, it means that your translation request is sent to our service and has been put into the translation queue successfully. It doesn't mean that your model will be processed by our service immediately.
Instead, you have to line up! Since our service resources are limited and shared worldwide, you will need to wait for enqueued IFC translation jobs from other Forge users completed, and then our service will start to process yours. Therefore, waiting for 15mins is not slow from my perspective.

Is there any way to set limit on Autodesk Forge Credit consumption?

I want to make sure that my app do not accidentally consume more credits than I can afford. How can I set such limits of weekly or monthly consumption?
Unfortunately billing cap is not yet possible so you will need to calculate your own spending per the pricing info here in combination with your own metering (see some open source projects here).
Will let Engineering know it is good to have the budgeting feature soon as possible and update this answer when it’s available.

Is there a way to check the cloud credits consumed by every reconstruction (photoscene_id) on the Autodesk Forge Reality Capture API?

I run several reconstructions per day using the ReCap API and I would like to know if there is a way to identify the number of cloud credits consumed by each of them. Is there a way to check this, is it linked to the photoscene ID?
- I try looking at the Usage Analysis and it adds up all my credits consumed per day.
- The GET photoscene details end point gives me just the aws_hourly_rate.
Unfortunately not right now but we’ve got internal APIs for such purposes and they could be released for public access in the near future. Stay tuned to our Forge Blog for announcements.

I have my credit card ready, how do i increase the quota limits for an app script application

I have written an entire application to do one and only one thing, notify the people on a shared folder in drive that a new file has been added to the folder. the fact i had to write the application is baffling to me but whatever.
The person generating the content clicks on the notify button when he adds a new file, which on a good day would be about 2 or 3 hundred times, the system will go out, find the new files, get the list of people its shared with based on the folder, and generate an email for those people saying their file is ready to download via the link in the email.
my problem is he starts work about 8 in the morning and about 9 in the morning he gets a notification that he has hit the email quota for the day.
so, just to save time let me answer some of the mundane questions
he has a google apps for business account
no, he can not simply click the notify button less each day. he typically works on
a 5 to 15 minute turn around time for the files
in a given year he averages about 14,000 files added to the system with 200 clients
and i would guess about 600 emails a day.
yes, i have rewritten the app several times now to minimize the number of times the api's are called. I can't go any less than i am currently calling them because the toolset just isn't that good.
the server that ran this system previously was a P4 1 gig processor with 2 gigs of ram
and a 500 gig hard drive that sits in his basement on the end of a
128k ISDN line. that server handled this task well for over 10
years, i think google can handle the load
none of his clients have gmail accounts to be notified of new files as a shared folder
i have his credit card ready to upgrade the quota for the gmailapp api and the driveapp api inside the google app script language and i only need to know what screen to enter it to upgrade these quotas.
Am i going to have to rewrite this app yet again as a GAE app to make this work as expected?
thanks
As an update, it turns out no-one is sure if these limits can be increased. Therefor I rewrote the app in GAE. At least with that framework and Drive API, if he ever hits any of the limits for the free account, he can be back up and running in minutes with a credit card, not have his entire business unceremoniously shut down for 24 hours with App Script.
Thank you all