• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Autodesk Design Review

    Reply
    Active Member
    Posts: 9
    Registered: ‎12-04-2008

    Autodesk Design Review Embedded in HTML Page - Removing All Toolbars/Ribbon

    2070 Views, 12 Replies
    08-24-2009 08:51 AM
    I am trying to embed Autodesk Design Review in a web/html page with all toolbars and ribbons removed and am experiencing the following issues:

    1. Autodesk Design Review 2009

    I can hide everything but when the program instantiates, it creates a rectangle in the top left hand corner of the screen that covers the html underneath. Momentarily, all the toolbars appear then disappear after it loads. I've tried turning off as Params and also with Javascript to no avail. Toolbars show when the ActiveX is loading. I have tried z-index, display: none, moving off screen etc. etc. etc.

    2. Autodesk Design Review 2010

    I cannot get rid of the ribbon using Params or Javascript. Is there a Param or Javascript code to do this?


    Is there a way around any of the above two problems?
    Please use plain text.
    *Bill Bai

    Re: Autodesk Design Review Embedded in HTML Page - Removing All Toolbars/Ribbon

    08-27-2009 02:04 AM in reply to: DonaldKerr123
    Thank you for your question.

    Autodesk Design Review 2009 has a known issue regarding hiding toolbars as
    you described so we suggest you to use Autodesk Design Review 2010.

    Autodesk Design Review 2010 Toolbar UI includes two parts. One is Ribbon UI,
    the other is canvas toolbar. You can set below Param to hide them as
    default:


    classid="clsid:A662DA7E-CCB7-4743-B71A-D817F6D575DF" width="100%"
    height="100%">




    Please let me know if I can be of any further help.
    -Bill

    wrote in message news:6242167@discussion.autodesk.com...
    I am trying to embed Autodesk Design Review in a web/html page with all
    toolbars and ribbons removed and am experiencing the following issues:

    1. Autodesk Design Review 2009

    I can hide everything but when the program instantiates, it creates a
    rectangle in the top left hand corner of the screen that covers the html
    underneath. Momentarily, all the toolbars appear then disappear after it
    loads. I've tried turning off as Params and also with Javascript to no
    avail. Toolbars show when the ActiveX is loading. I have tried z-index,
    display: none, moving off screen etc. etc. etc.

    2. Autodesk Design Review 2010

    I cannot get rid of the ribbon using Params or Javascript. Is there a Param
    or Javascript code to do this?


    Is there a way around any of the above two problems?
    Please use plain text.
    New Member
    Posts: 1
    Registered: ‎09-02-2009

    Re: Autodesk Design Review Embedded in HTML Page - Removing All Toolbars/Ribbon

    09-02-2009 10:35 PM in reply to: DonaldKerr123
    I've the same ptroblem too! but I can't find Ribbon UI disabling example/reference in Design Review 10 Api help (I would like to use java script).

    Could you suggest me a small sample code?

    Best Regards

    Francesco
    Please use plain text.
    Active Member
    Posts: 9
    Registered: ‎12-04-2008

    Re: Autodesk Design Review Embedded in HTML Page - Removing All Toolbars/Ribbon

    09-02-2009 11:47 PM in reply to: DonaldKerr123
    If the truth be known, it looks like this one is being ignored by Autodesk.

    Donald
    Please use plain text.
    Employee
    Posts: 8
    Registered: ‎07-15-2009

    Re: Autodesk Design Review Embedded in HTML Page - Removing All Toolbars/Ribbon

    09-06-2009 07:18 PM in reply to: DonaldKerr123

    Add example:

    <object id="SampleControl1" classid="clsid:A662DA7E-CCB7-4743-B71A-D817F6D575DF" width="100%" height="100%">
    <param name="RibbonDisplayMode" value='RibbonNotShown'>
    <param name="CanvasToolbarEnabled" value='0'>
    </object>



    Bill Bai
    SW Team Lead
    AEC
    Autodesk, Inc.
    Please use plain text.
    Active Member
    Posts: 9
    Registered: ‎12-04-2008

    Re: Autodesk Design Review Embedded in HTML Page - Removing All Toolbars/Ribbon

    09-06-2009 11:42 PM in reply to: DonaldKerr123
    Thank you very much.
    Please use plain text.
    Active Member
    Posts: 9
    Registered: ‎12-04-2008

    Re: Autodesk Design Review Embedded in HTML Page - Removing All Toolbars/Ribbon

    09-07-2009 05:56 AM in reply to: DonaldKerr123
    I'm afraid that it still doesn't work. The ribbon is still in place (see attached file).
    Please use plain text.
    New Member
    Posts: 1
    Registered: ‎01-22-2009

    Re: Autodesk Design Review Embedded in HTML Page - Removing All Toolbars/Ribbon

    10-12-2009 11:30 AM in reply to: DonaldKerr123
    I have the same issue.

    I want the DWFViewer control to retain the ability to zoom/pan, but not have any ability to modify/save/etc. the DWF in the viewer. This was possible in Inventor 2008 by hiding all of the toolbars. My application worked as desired.

    Now that I have upgraded to Inventor 2010, I can still hide the toolbars, but I cannot find anything in the API that lets me hide the new ribbon menu (which gives the user functionality I don't want them to have).

    How can the ribbon menu be removed? I tried the following, but it did not work:

    try
    {
    // RibbonDisplayModeEnum is defined in the AdCommon type library reference.
    axCExpressViewerControlForDWF.RibbonDisplayMode = RibbonDisplayModeEnum.RibbonNotShown; // THIS DID NOT WORK


    // THE COMMANDS BELOW WORK FOR INVENTOR 2008 and INVENTOR 2010 to remove a toolbar, but not the ribbon menu.

    ECompositeViewer.IAdECompositeViewer CompositeViewer; // control inside the DWFViewer control

    // the Composite Viewer controls the various panes (windows) within the DWF Viewer control.
    CompositeViewer = (ECompositeViewer.IAdECompositeViewer)axCExpressViewerControlForDWF.ECompositeViewer;

    CompositeViewer.MarkupsVisible = false;
    CompositeViewer.NavigationBarVisible = false;
    CompositeViewer.PaperTilesVisible = false;
    CompositeViewer.PaperVisible = false;
    CompositeViewer.ToolbarVisible = false;
    CompositeViewer.UserInterfaceEnabled = false; // turns off the right-click context menu
    CompositeViewer.HyperlinksEnabled = false;
    CompositeViewer.HyperlinksHighlightingEnabled = false;
    CompositeViewer.HyperlinksSingleClickEnabled = false;
    CompositeViewer.HyperlinksTooltipsEnabled = false;
    }
    catch (Exception ex)
    {
    } Edited by: montehall3780 on Oct 12, 2009 6:32 PM
    Please use plain text.
    *Bill Bai

    Re: Autodesk Design Review Embedded in HTML Page - Removing All Toolbars/Ribbon

    10-19-2009 08:10 PM in reply to: DonaldKerr123
    Thank you for your question.

    Autodesk Design Review 2010 doesn't provide any public API to hide the
    Ribbon. Above is some example code which can be placed in an HTML file to
    hide the Ribbon by setting RibbonDisplayMode. You need to make sure this is
    set before the control created.

    We will consider your idea to add a new API for possible inclusion in future
    releases.

    Bill
    Please use plain text.
    Active Member
    aka.kamyk
    Posts: 7
    Registered: ‎06-22-2011

    Re: Autodesk Design Review Embedded in HTML Page - Removing All Toolbars/Ribbon

    06-22-2011 06:18 AM in reply to: DonaldKerr123

    I know it is off topic but when I was looking for this problem this was the only place where this problem was mentioned.

     

    For somenone who will search for the answer how to hide Ribbon bar using AutoDesk Design Review 2011 using ActiveX control inside WindowsForms.

     

    I was able to do this be setting _ViewerParams = ?RibbonDisplayMode=RibbonNotShown inside Property window of axCExpressViewerControl

     

    HideRibbon.png

    Please use plain text.