I want to hide all the current artifacts. I look up API as if I use the hideModel method. I need modelId, to ask how to get the modelId of the current model
.I want to hide all the current artifacts. I look up API as if I use the hideModel method. I need modelId, to ask how to get the modelId of the current model
.viewer.model.id gets the master variable
NOP_VIEWER.model.id console of modelid
viewer.hideModel (the id you just got)
viewer==NOP_VIEWER==forge. Just take a look at the id,NOP_VIEWER.hideModel (~) in NOP_VIEWER.model and you can hide it. Since you don't have to load it, why load it?
load the model, the container turns black. at first thought it was my program s problem. But try it with the code of the example, too. is there something wrong with the server? the following is the source code of the example. It used to be possible....
how does autodesk forge get accessToken (JS or c-sharp automatically? In other words, how to automatically obtain the accesstoken below? ...
when using three.js, use raycaster to select objects. If there is div occlusion on the upper layer of the canvas, the mouse can still select the model in the canvas. If you want to select a model that is not available when there is div occlusion, how to ...
how do I remove some controls from the default toolbar in forge viewer, such as removing the controls in the red line in the screenshot? The methods I ve tried before are var group = viewer.toolbar.getControl ( navTools ); group.removeControl ( to...
after using viewer = new Autodesk.Viewing.Viewer3D (myViewerDiv, config3d), there are no tools on the entire interface, not even viewcube. Now I want to make a layout on this quick interface, such as adding some div, and the location is on the right, so...
1. How to get the currently selected artifact or the currently selected build set 2 3 ...
as far as I understand it, this new first view tool is a roaming tool with gravity. The default view of this tool is a little high. How to set this height? ...
when I roam with the new version of bimwork, as shown in the following figure I manually downloaded version 4.2 offline viewer, and all the JS related to version 4.2 including extensions. I hope God will reply, is it because I downloaded less stuff?...
the default rendering style of viewer and the rendering style in the settings are not very suitable for my needs. Is there any way to set the default rendering effect of viewer? For example, the following two pictures, the first is the default rendering ...
after my bucket is found on my model, the model will disappear after a while. How should I modify it so that it can be permanently stored in bucket? bucket ...
how to allow the camera to rotate only left and right during mouse operation, and forbid the camera to rotate up and down. ...
the doors in the model are like the right side, and there are two modes of opening and closing at the same time. through the setting of the revit property, you can display open (left door), close and simultaneously open (right door) , but after importe...
because of the requirements of the project, I just came into contact with forge. currently I have converted the rvt model to svf format and exported it offline to my local, then load the model through viewer.loadModel ( static model xxx Resource _ ...
JS implementation shortens the distance (AUtoDesk-forge) ...
Autodesk-forge model slightly how to load this model in IE browsers? at present, only advanced browsers such as Crome Google are supported ...
as mentioned above, the requirement requires obtaining 4D information, that is, reading the plan progress in the model. We don t know much about this. At present, we only know that the plan information created by the model designer through MS project i...
I have multiple models, and after converting the models through the forge server, I download these converted svf file formats respectively. So how do I aggregate these models locally? ...
Today, I encountered an IE browser compatibility problem when I was working on a project, saying that I need an iewebGl plug-in < _ ...
as shown in the figure, the rotation and movement of the model will be displayed. How can I hide it? ...
how can I call the measurement tool in Autodesk.Viewing.Private.GuiViewer3D through the Autodesk.Viewing.Viewer3D object of Autodesk-forge? ...