Announcements

Announcement: We’re aware of an issue affecting starting a new topic from category pages and creating new blog posts. New topics can still be started directly from the relevant board. Learn more here.

ExecuteAction function, png download view

ExecuteAction function, png download view

Anonymous
Not applicable
1,229 Views
7 Replies
Message 1 of 8

ExecuteAction function, png download view

Anonymous
Not applicable

I am using the ExecuteAction function to download the png on embedded configurator360 in my website but the png does not download in the view that is set in configurator360 it is in a 'default' view. How can I get the view as it is on the screen and  save the file the same as if I had used the download button on Configurator360 and not have the view changing?

Reply
Reply
0 Likes
1,230 Views
7 Replies
Replies (7)
Message 2 of 8

damian.lewczyk
Autodesk Support
Autodesk Support

Hello
I recorded how it works on my computer.
Could you record how it looks on yours? 
Use Screencast 


Damian Lewczyk
Technical Support Specialist
Autodesk
Reply
Reply
0 Likes
Message 3 of 8

scott_anderson-adsk
Autodesk
Autodesk

Here's another working example using the embedding API



Scott Anderson
Principal Software Engineer
Reply
Reply
0 Likes
Message 4 of 8

Anonymous
Not applicable

Thanks, although I should have made it clear that I am looking for a solution for this in the configurator360 JavaScript API. Please see the documentation of configurator360 JavaScript API executeAction function at http://embedding.configurator360.autodesk.com/doc.html.

Reply
Reply
0 Likes
Message 5 of 8

JMGunnar
Collaborator
Collaborator
Reply
Reply
0 Likes
Message 6 of 8

scott_anderson-adsk
Autodesk
Autodesk

Sorry if I wasn't clear, but the video I posted is using http://embedding.configurator360.autodesk.com/, which is a test harness that uses that javascript API. You can test your design with it too. If it doesn't work there let me know your design key and I'll take a look.



Scott Anderson
Principal Software Engineer
Reply
Reply
0 Likes
Message 7 of 8

Anonymous
Not applicable

Scott. I have tested it on the Test Harness but I am not able to copy the link as you have in you video?  Mine looks as below but I cannot select the text.

rick_0-1588024348079.pngrick_0-1588024348079.png

Is it possible to get the url by using javascript? We are allowing customers to save a project with the.png and .rfa files stored with the quotation.  I also have a problem where the .rfa is not working with this model but that is a different issue.

This is the Key: 3599297342050708/7hcty9y70e4b

Reply
Reply
0 Likes
Message 8 of 8

scott_anderson-adsk
Autodesk
Autodesk

I had the same problem with chrome. If you use firefox it will let you select it and highlight it. This test harness is getting the URL with javascript and just showing it with an alert(). Your code can do whatever you want with it.



Scott Anderson
Principal Software Engineer
Reply
Reply
0 Likes