What does the method do model.visibilityManager.hiddenNodes?Removing unnecessary modelsPicking under elements of an element in Autodesk Forge viewerHow to create a Docking PanelMissing properties (Globalds) from IFC file in viewerPrevent zoom in Forge viewer when clicking in Model BrowserForge viewer call focus methodAutodesk Viewer: Show a list of elements with specified Database IDsAdding buttons to the Forge ViewerWhat is the difference between viewableID and guid?How to have forge viewer to display elements with low level details?
Averting Real Women Don’t Wear Dresses
What are good ways to spray paint a QR code on a footpath?
Golf the smallest circle!
Being paid less than a "junior" colleague
How is this practical and ancient scene shot?
What is the difference between x RadToDeg cos x div and COSC?
The Confused Alien
In native German words, is Q always followed by U, as in English?
How do Hassidim survive the summer heat?
Details of video memory access arbitration in Space Invaders
Automatically convert a number to use the correct SI unit prefix
How hard is it to sell a home which is currently mortgaged?
Why isn’t the tax system continuous rather than bracketed?
Most importants new papers in computational complexity
How to fix a dry solder pin in BGA package?
Is there a way for presidents to legally extend their terms beyond the maximum of four years?
What is the name of this OOB notification method/popup, and is it customizable?
Why are 120 V general receptacle circuits limited to 20 A?
Different budgets within roommate group
Do space suits measure "methane" levels or other biological gases?
Understanding Lasso Regression's sparsity geometrically
What could a reptilian race tell by candling their eggs?
Can you sign using a digital signature itself?
Which resurrection spells are valid to use with the Zealot's 'Warrior of the Gods' Feature?
What does the method do model.visibilityManager.hiddenNodes?
Removing unnecessary modelsPicking under elements of an element in Autodesk Forge viewerHow to create a Docking PanelMissing properties (Globalds) from IFC file in viewerPrevent zoom in Forge viewer when clicking in Model BrowserForge viewer call focus methodAutodesk Viewer: Show a list of elements with specified Database IDsAdding buttons to the Forge ViewerWhat is the difference between viewableID and guid?How to have forge viewer to display elements with low level details?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I found a very interesting method called "model.visibilityManager.hiddenNodes". I want to hide some elements from my viewer. I am very interested in this method, about which I couldn’t find anything, so I decided to ask. It would be nice if you suggested what and how this method does.
autodesk-viewer
add a comment |
I found a very interesting method called "model.visibilityManager.hiddenNodes". I want to hide some elements from my viewer. I am very interested in this method, about which I couldn’t find anything, so I decided to ask. It would be nice if you suggested what and how this method does.
autodesk-viewer
add a comment |
I found a very interesting method called "model.visibilityManager.hiddenNodes". I want to hide some elements from my viewer. I am very interested in this method, about which I couldn’t find anything, so I decided to ask. It would be nice if you suggested what and how this method does.
autodesk-viewer
I found a very interesting method called "model.visibilityManager.hiddenNodes". I want to hide some elements from my viewer. I am very interested in this method, about which I couldn’t find anything, so I decided to ask. It would be nice if you suggested what and how this method does.
autodesk-viewer
autodesk-viewer
asked Mar 25 at 12:20
Alisa BondarchukAlisa Bondarchuk
576 bronze badges
576 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Can find doc here but keep in mind that's NOT official and some of the info may be outdated and subject to change w/o notice.
And here's some usage reference for the visibiliyManager
component:
// manually restore hidden/isolated nodes of a model and apply them
var isolatedIds = this.impl.visibilityManager.getIsolatedNodes(model);
var hiddenIds = this.impl.visibilityManager.getHiddenNodes(model);
// recover isolated/hidden nodes (Note that hiddenIds are only used if no node is isolated)
if (isolatedIds.length!=0) viewer.impl.visibilityManager.isolate(isolatedIds, model);
else if (hiddenIds.length!=0) viewer.impl.visibilityManager.hide(hiddenIds, model);
Thank you very much. I understand this method is designed to restore isolated elements, rather than isolating them?
– Alisa Bondarchuk
Mar 26 at 5:04
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55337659%2fwhat-does-the-method-do-model-visibilitymanager-hiddennodes%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Can find doc here but keep in mind that's NOT official and some of the info may be outdated and subject to change w/o notice.
And here's some usage reference for the visibiliyManager
component:
// manually restore hidden/isolated nodes of a model and apply them
var isolatedIds = this.impl.visibilityManager.getIsolatedNodes(model);
var hiddenIds = this.impl.visibilityManager.getHiddenNodes(model);
// recover isolated/hidden nodes (Note that hiddenIds are only used if no node is isolated)
if (isolatedIds.length!=0) viewer.impl.visibilityManager.isolate(isolatedIds, model);
else if (hiddenIds.length!=0) viewer.impl.visibilityManager.hide(hiddenIds, model);
Thank you very much. I understand this method is designed to restore isolated elements, rather than isolating them?
– Alisa Bondarchuk
Mar 26 at 5:04
add a comment |
Can find doc here but keep in mind that's NOT official and some of the info may be outdated and subject to change w/o notice.
And here's some usage reference for the visibiliyManager
component:
// manually restore hidden/isolated nodes of a model and apply them
var isolatedIds = this.impl.visibilityManager.getIsolatedNodes(model);
var hiddenIds = this.impl.visibilityManager.getHiddenNodes(model);
// recover isolated/hidden nodes (Note that hiddenIds are only used if no node is isolated)
if (isolatedIds.length!=0) viewer.impl.visibilityManager.isolate(isolatedIds, model);
else if (hiddenIds.length!=0) viewer.impl.visibilityManager.hide(hiddenIds, model);
Thank you very much. I understand this method is designed to restore isolated elements, rather than isolating them?
– Alisa Bondarchuk
Mar 26 at 5:04
add a comment |
Can find doc here but keep in mind that's NOT official and some of the info may be outdated and subject to change w/o notice.
And here's some usage reference for the visibiliyManager
component:
// manually restore hidden/isolated nodes of a model and apply them
var isolatedIds = this.impl.visibilityManager.getIsolatedNodes(model);
var hiddenIds = this.impl.visibilityManager.getHiddenNodes(model);
// recover isolated/hidden nodes (Note that hiddenIds are only used if no node is isolated)
if (isolatedIds.length!=0) viewer.impl.visibilityManager.isolate(isolatedIds, model);
else if (hiddenIds.length!=0) viewer.impl.visibilityManager.hide(hiddenIds, model);
Can find doc here but keep in mind that's NOT official and some of the info may be outdated and subject to change w/o notice.
And here's some usage reference for the visibiliyManager
component:
// manually restore hidden/isolated nodes of a model and apply them
var isolatedIds = this.impl.visibilityManager.getIsolatedNodes(model);
var hiddenIds = this.impl.visibilityManager.getHiddenNodes(model);
// recover isolated/hidden nodes (Note that hiddenIds are only used if no node is isolated)
if (isolatedIds.length!=0) viewer.impl.visibilityManager.isolate(isolatedIds, model);
else if (hiddenIds.length!=0) viewer.impl.visibilityManager.hide(hiddenIds, model);
answered Mar 26 at 3:11
Bryan HuangBryan Huang
2,0301 gold badge9 silver badges13 bronze badges
2,0301 gold badge9 silver badges13 bronze badges
Thank you very much. I understand this method is designed to restore isolated elements, rather than isolating them?
– Alisa Bondarchuk
Mar 26 at 5:04
add a comment |
Thank you very much. I understand this method is designed to restore isolated elements, rather than isolating them?
– Alisa Bondarchuk
Mar 26 at 5:04
Thank you very much. I understand this method is designed to restore isolated elements, rather than isolating them?
– Alisa Bondarchuk
Mar 26 at 5:04
Thank you very much. I understand this method is designed to restore isolated elements, rather than isolating them?
– Alisa Bondarchuk
Mar 26 at 5:04
add a comment |
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55337659%2fwhat-does-the-method-do-model-visibilitymanager-hiddennodes%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown