Autodesk Design Review
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
DWF Viewer Javascript API
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
There are a few examples of javascript code on the net for controlling the DWF viewer when embedded in a webapage. Is there a comprehensive guide to all available functionality.
I am looking for a way to make the Selection be turned on by default (or a method of controlling with javascript) without having to either select the arrow from the toolbar or use the right click menu.
Also does anyone know of a way to change the object params using javascript, I have tried modifying them with the DOM but it appears that once the dwf object is loaded the params cannot be changed without a complete page refresh.
Any help greatly appreciated
Paul M
Re: DWF Viewer Javascript API
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Its OK I have found the solution by trial and error.
I would like to know however if there is a way in which the current selected object in the dwf viewer can be deselected using javascript, because selecting the currently selected object does not cause an event to fire
Thanks
PM
Re: DWF Viewer Javascript API
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I have managed to find a solution to the above also.
What I would really like to know is if the properties palettes can be disabled so they do not pop up (if the user has them turned on) when an object is clicked on.
I have tried various permutations of:
ADViewer.ECompositeViewer.Commands('OBJECTPROPERTI
but this does not seem to work
any help greatly apprecciated
PM
Re: DWF Viewer Javascript API
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Try setting AdViewer.AutoOpenPalettesDisabled = 1
Re: DWF Viewer Javascript API
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Many thanks that works great on the latest plug-in
does anyone know why the design review plug-in that gets downloaded from the Autodesk Website is the 2009 version?
is there a CAB file in existence anywhere for the 2012 or 2013 browser plug-in (the full design review download that includes the plug-in is over 700MB in size)
regards
Paul M
Re: DWF Viewer Javascript API
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Can you Post the Solution, have the Same Quentin, how to change properties with the API. Thanks
Re: DWF Viewer Javascript API
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Can you Post the Ideal, how to deselect all selected Objekts in the viewer. I can Not find any Event for that. Tanks
