This is Afshin Jafari's Typepad Profile.
Join Typepad and start following Afshin Jafari's activity
Join Now!
Already a member? Sign In
Afshin Jafari
Recent Activity
ah.. thanks, so moved it to the top and that error disappeared. now I see this: Uncaught TypeError: Cannot read property 'registerTool' of undefined any suggestions? Regards, Afshin
Thanks Philippe, Yes I thought that would be the case and tried (sorry I had to mention in my comment). so I installed polyfill (npm install --save-dev babel-polyfill) and added "import "babel-polyfill";" on top of the "Viewing.Extension.Markup3D.js" then ran the webpack. although it made the generated min file bigger but still I receive the same error. Regards Afshin
Hi, I've got the whole library and tried webpack. at first I received a 'typescript' related error, after excluding typescript from the config file webpack ran successfully and generated .min files. I copied the "Viewing.Extension.Markup3D.min.js" to my extension folders and tried loading it but I receive this error: "Viewing.Extension.Markup3D.min.js:4 Uncaught ReferenceError: regeneratorRuntime is not defined" Can you please help where to start to fix the issue? regards,
sorry it removed this section when posting the comment: script src="https://developer.api.autodesk.com/viewingservice/v1/viewers/viewer3D.min.js" script src="https://autodeskviewer.com/viewers/2.2/extensions/MarkupsCore.min.js"
Thanks Philippe for your reply, this is what I use: here is the test app: http://aqueous-depths-27001.herokuapp.com/ Regards, Afshin
Hi Philippe, Thank you very much for this article. However I tried to use this script in my test app and I receive this error: "MarkupsCore.js:4259 Uncaught TypeError: Cannot read property 'call' of undefined" in "MarkupTool()" function this line: Autodesk.Viewing.ToolInterface.call(this); any help will be appreciated. Regards, Afshin
Afshin Jafari is now following The Typepad Team
May 8, 2016