Design Review
Welcome to Autodesk’s Design Review Forums. Share your knowledge, ask questions, and explore popular Design Review topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

View settings through API

4 REPLIES 4
Reply
Message 1 of 5
vgottipa
489 Views, 4 Replies

View settings through API

Hello,

 

I would like to know if there is a way to control view settings from the API. I would like to set the fidelity, performance value through code if possible.

 

Also, I have not been able to come across a way to hide the ribbon completely. Is this possible? 

 

I see that there are a number of methods/properties available with the dwfviewer object that are not part of api documentation. May be, all I would need to do is to know the relevant methods/properties. Please let me know.

 

As a note, I am using vb.net, visual studio to integrate a dwf viewer in windows forms.

 

Thank you.

4 REPLIES 4
Message 2 of 5
herbert.he
in reply to: vgottipa

Thank you for your questions.

 

To hide the ribbon, you can refer to the solution which was mentioned in the post:

http://forums.autodesk.com/t5/Autodesk-Design-Review/Autodesk-Design-Review-Embedded-in-HTML-Page-Re...

 

Any other specific API questions please let me know.



Herbert He
SW Engineer
PSEB-GE- ACRD PSEB
Autodesk, Inc.
Message 3 of 5
vgottipa
in reply to: herbert.he

I referred to the solution in that post. Setting "_ViewerParams = ?RibbonDisplayMode=RibbonNotShown" property in windows form properties for the axCeExpressControl does not work.

Message 4 of 5
herbert.he
in reply to: vgottipa

Thank you for your feedback.

 

Please insure that there is no space character in '_ViewerParams' field.

 

By the way, to hide both Ribbon and Canvas toolbar, you can set '_ViewerParams' as:

    ?RibbonDisplayMode=RibbonNotShown&?CanvasToolbarEnabled='false'

 

Attach a sample application which works on my machine.

Hope that helps.



Herbert He
SW Engineer
PSEB-GE- ACRD PSEB
Autodesk, Inc.
Message 5 of 5
vgottipa
in reply to: herbert.he

Herbert,

 

Thanks, it worked. As you suggested, may be I was overlooking a space earlier.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report