In viewer 7.35 a new setting was added:
Setting to turn section plane hatches on and off. This setting does not apply to the section box.
I am however not able to find this setting anywhere. Could anyone share some information and/or documentation on the use of this?
Does anyone know if we able to remove only hatches, but keep and outline and therefore be able to snap to the edges in the sectioned geometry?
Thank you all in advance for any help!
According to our engineering team, only Section planes support section hatches. Section box won't have that.
Although the viewer of BIM360 Docs built on top of Forge Viewer, it doesn't get updates as the new version of Forge Viewer released. It will take some time to merge the changes from the new Forge Viewer.
Is this not what you are looking for ?
Under settings -> Configuration -> Display section -> Display Section Hatches
Related
Description
Mirrored model has its materials flipped inside out when viewed in Autodesk Forge Viewer.
Adding a section plane reverts the mirrored model back to what it should look like.
We are using this sample viewer from Autodesk.
This weird behavior does not occur when looking at the model in BIM 360 Docs.
We've included screenshots and steps to reproduce this here.
EDIT: while writing this post, we came across Problems with forceDoubleSided setting. Has this been fixed?
Thanks.
Simply loading the 'Autodesk.AEC.LevelsExtension' might fix the problem.
See https://forge.autodesk.com/blog/bim-360-viewer-vs-forge-viewer
I was checking example https://forge-rcdb.autodesk.io/configurator?id=598d7ec14cabf2c1f4dec948
Not sure while I see markups in View state, the model cannot be rotated? Is this by design? Or markups drawn using different shapes cannot be viewed using camera events? If this is possible, show me an example which shows this.
I exactly need similar example where I can have an editor where markups mode can be selected and draw?
It is by design but you can try below to enable navigation when in view mode:
Autodesk.Viewing.Extensions.Markups.Core.Utils.showLmvToolsAndPanels(viewer)
markExt.allowNavigation(true)
viewer.navTools.orbittoolsbutton.container.style.display='block'
// then pick the desired tool from toolbar and navigate
Note this is NOT officially supported (since navigation is suppressed by design) and might not work with future releases (works as of 7.12).
You might be interested by this example for 3d markup using the Forge Viewer even though it doesn't have a configuration mode.
https://github.com/apprentice3d/ForgeViewerExtensions
I am following the tutorial available here, in order to add Pushpins to a clicked location on the Forge viewer. My issue is that the pushpin is drawn on a different location to where I clicked on the viewer. I am using the exact same code that as available in the tutorial, although I have implemented it as a separate extension.
Following is a screenshot of where the Pushpin was drawn, and where the mouse pointer was at the time it was clicked.
I have been trying to play around with the code by even manually changing the location to get the correct position, but wasn't really successful. Any help on this regard would be appreciated.
Thanks in Advance!
I have this problem when my app was doing components size changes with css, and I solve this calling the method resize of the viewer, after the visual size changes, and before the pushpin creation, like above:
viewer.resize()
Link: https://forge.autodesk.com/en/docs/viewer/v7/reference/Viewing/Viewer3D/#resize
I hope this can help you!
When viewing a model the view cube shows the orientation of the model in terms of top, bottom, left, right etc.
How would I display a compass rose graphic that would display in terms of North, South etc? Similar to Navis cube.
Note: Currently using V2.11 viewer.
Thanks
Update 2019-11-08: This whish list item, LMV-2837, has been implemented by our engineering team now. You can see the compass under the ViewCube with the viewer v7.6 by default!! Here is the snapshot:
=============
After v2.16, viewer has capability to display labeled axis lines, see here for more detail. But there still is no API available to add custom graphic to the viewer ViewCube in my experience unfortunately, in part because there has been no known user interest.
However, we are interested in your need for displaying custom graphic with the ViewCube and what benefits it would have for you. Could you share with us, please? If it cannot be shared publicly, you can sent those information to forge.help#autodesk.com.
P.S. Please don't sent any sensitive data or information of yours and your company to us.
our initial focus within our 3d views needs tweaking. Currently it is zoomed out ~x2 too far.
Can anyone get me started in the right direction for the controls for this?
I've tried changing the cropregion/ section box etc in the original revit model, but that hasn't made a difference.
A simple way to handle that would be to position the camera as you wish then save the current state and restore it upon loading the model, see my blog post about managing viewer states: Managing viewer states from the API