A view with only one room

A view with only one room

Anonymous
Not applicable
1,491 Views
4 Replies
Message 1 of 5

A view with only one room

Anonymous
Not applicable

I have the building data with 4 floor and several rooms in each floor.

 

Can I create a view with only one room of some floor?

 

That means, I want to focus on the room and show it in Addin.

 

Could you please give me some help?

0 Likes
1,492 Views
4 Replies
Replies (4)
Message 2 of 5

jeremytammik
Autodesk
Autodesk

Dear Wyfeng2013,

 

The same procedure as always:

 

First, figure out the exact steps to achieve this in an optimal and clean fashion through the user interface.

 

Then and only then, you can start exploring the programmatic implementation.

 

Depending on the context you are aiming for, you might find this old example of cropping a 3D view to a specific room useful:

 

http://thebuildingcoder.typepad.com/blog/2009/12/crop-3d-view-to-room.html

 

Cheers,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 3 of 5

Anonymous
Not applicable

Dear Jeremy,

 

Thanks for you very much !

 

With your guidence, I have been successful to create a view with only one room.

 

But I still have a question.

The view I created  not only includes the room, but also the comment of CAD.

 

How can I deal with the comment of CAD?

捕获.PNG

Cheers,

 

 

0 Likes
Message 4 of 5

Anonymous
Not applicable

Dear Jeremy,

 

I still have a question.

 

If the room is not a irregular quadrilateral, and when I use the cropbox to get the room, the real region that I corped not only include the room, but also some other area?

 

Thanks for you very much !

0 Likes
Message 5 of 5

jeremytammik
Autodesk
Autodesk

Again, there are a number of approaches that you can use.

 

You need to explore and understand this from an end user point of view first, before programming anything.

 

You can use an irregular boundary.

 

You can use a view filter.

 

Both of these functionalities also include programmatic API support.

 

Cheers,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes