Generation model using Forge (Design Automation) makes elements invisible

Generation model using Forge (Design Automation) makes elements invisible

IliaIvanov
Contributor Contributor
700 Views
7 Replies
Message 1 of 8

Generation model using Forge (Design Automation) makes elements invisible

IliaIvanov
Contributor
Contributor

Hello, 
I have some troubles after Forge model generation. The main goal is to get rvt model from JSON. 
I have tested my code with Revit API in Revit. It works nice. But when add bundle to the Forge app and got rvt result - I have faced with weird glitch. I can`t see any wall in the project, but walls exist. I have checked with lookupRevit and saw walls and ids. 
The question is "How to make invisible walls be visible?"
I have attached the recording demonstrating my glitch.
Thanks

0 Likes
701 Views
7 Replies
Replies (7)
Message 2 of 8

jeremy_tammik
Alumni
Alumni

That sounds weird... interesting.

 

However, please note that this forum is dedicated to the Revit API pure and simple, running .NET add-in on the Windows platform.

 

Forge questions are better discussed under the dedicated Forge tags on StackOverflow:

 

https://forge.autodesk.com/en/support/get-help

 

I do not see any recording attached to this thread either, by the way.

 

In any case, I would suggest asking on StackOverflow. I can happily pick up the question from there once I see it.

 

Thank you!

 

Cheers,

 

Jeremy

 

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes
Message 3 of 8

IliaIvanov
Contributor
Contributor

Thanks Jeremy for the quick reply. I have added link from youtube. 

0 Likes
Message 4 of 8

jeremy_tammik
Alumni
Alumni

Thanks for the video.

 

I have no idea what could be causing this.

 

There are an almost infinite number of ways to control visibility and graphics of BIM elements in Revit.

 

Maybe you are making inadvertent use of that wealth of possibilities.

 

Maybe it depends on your template file, or other settings.

 

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes
Message 5 of 8

IliaIvanov
Contributor
Contributor

I have checked filters, visibility&graphic settings, show hidden and etc. After selection all wall and copy them to the same place we are able to see these walls (copy of hidden). This is weird bug as I don`t know how I can make elements invisible without ability to make it visible again.

0 Likes
Message 6 of 8

IliaIvanov
Contributor
Contributor

if you are interested I can share my rvt project with hidden walls 

0 Likes
Message 7 of 8

jeremy_tammik
Alumni
Alumni

Here are some discussions on invisible elements:

 

https://forums.autodesk.com/t5/revit-api-forum/newdimension-dimension-created-but-not-visible/m-p/63...

https://forums.autodesk.com/t5/revit-api-forum/copy-dimensions-from-a-view-to-another/m-p/7226217

 

I would suggest first of all searching for other, similar discussions and hoping for a hint from there.

 

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes
Message 8 of 8

jeremy_tammik
Alumni
Alumni

Solved in the SlackOverflow thread:

 

https://stackoverflow.com/questions/66796225/generation-model-using-forge-design-automation-makes-el...

  

The problem was due to the walls being created in Phase 3, and the view displaying Phase 1.

 

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes