Announcements
Autodesk Community will be read-only between April 26 and April 27 as we complete essential maintenance. We will remove this banner once completed. Thanks for your understanding

Wall: attach top/base, no API?

Anonymous

Wall: attach top/base, no API?

Anonymous
Not applicable

I searched around with no luck. So,  to create a gable wall, the only way is to work out the profile and vertices? 

Thanks in advance.

0 Likes
Reply
Accepted solutions (1)
6,090 Views
28 Replies
Replies (28)

jeremytammik
Autodesk
Autodesk

Dear Paper Plane,

 

Does this help?

 

http://thebuildingcoder.typepad.com/blog/2011/07/create-gable-wall.html

 

Please note that the sample external command CmdCreateGableWall discussed there is included in The Building Coder samples:

 

https://github.com/jeremytammik/the_building_coder_samples

 

It is therefore continously maintained and has been updated for more recent versions of Revit.

 

Cheers,

 

Jeremy



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

Anonymous
Not applicable

Thank you Jeremy. 

 

I had thought there was a way like this:

First, ignore the detail of the wall profile, only create a rectangle wall;

Then, get IDs of the wall and a roof, attach these two using API. 

 

Apparently it doesn't work this way.

 

0 Likes

jeremytammik
Autodesk
Autodesk
Accepted solution

Afaik, the top and bottom restriction of a wall can very well be specified by simply supplying an element id each.

 

However, afaik, these element ids must specify level elements, and these are resticted to being horizontal.

 

Ergo, no way to use these to specify a non-rectangular wall elevation profile.

 

Capisci?

 

Ciao,

 

Jeremy



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

Anonymous
Not applicable
Thanks!!
0 Likes

harrymattison
Advocate
Advocate
Hi Jeremy,

The original poster and I are not trying to attach the wall to a level. We want to use the API to do what the UI allows which is attach the top and bottom of the wall to multiple elements such as a roof or floor. This can be seen in the UI in this video. http://autode.sk/1Q6e5oT

Because it seems like this is not possible with the API, could you please file a request with the development team?

Thank you
Harry

jeremytammik
Autodesk
Autodesk

Dear Harry,

 

Thank you for clarifying and adding your request.

 

I added both your and Paper_Plane's requests to the existing wish list item CF-180 [need to expose the "Attach Top/base" with API].

 

Please make a note of this number for future reference.

 

You are welcome to request an update on the status of this issue or to provide us with additional information at any time by submitting a new case quoting the wish list item number or this one.

 

Please also provide a business case to raise its priority:

 

This issue is important to me. What can I do to help?

 

This issue needs to be assessed by our engineering team, and prioritised against all of the other outstanding change requests. Any information that you can provide to influence this assessment will help. Please provide the following where possible:

 

  • Impact on your application and/or your development.
  • The number of users affected.
  • The potential revenue impact to you.
  • The potential revenue impact to Autodesk.
  • Realistic timescale over which a fix would help you.
  • In the case of a request for a new feature or a feature enhancement, please also provide detailed Use cases for the workflows that this change would address.

 

This information is extremely important. Our engineering team have limited resources, and so must focus their efforts on the highest impact items. We do understand that this will cause you delays and affect your development planning, and we appreciate your cooperation and patience.

 

I hope this helps.

 

Cheers,

 

Jeremy



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

Anonymous
Not applicable

Hi Jeremy

 

I am searching about the same feature in API

Is it existing now or not yet ???

 

Thank you

0 Likes

jeremytammik
Autodesk
Autodesk

Dear Mahmoud,

 

I added a note of your request to the wish list item.

 

Please provide your company details and a business case for it from your point of view as well.

 

Thank you!

 

Cheers,

 

Jeremy



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

0 Likes

Anonymous
Not applicable

I want to be able to create curved gable walls  by creating curved walls and attaching top to the upper roof.

 

Thank you

0 Likes

boostyourbim
Advocate
Advocate
0 Likes

dante.van.wettum
Advocate
Advocate

Any updates on this?

So far it doesnt seem to be included within the 2020 API as far as i can see.

Attach Wall top to an element (not level) as you can do in the revit UI

0 Likes

jeremytammik
Autodesk
Autodesk

Thank you for your vote! Not much more we can do about it right now, I'm afraid. Vote, vote, vote. Good luck!

  



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

a.bejenaru
Enthusiast
Enthusiast

For now the only thing we can do is delete and recreate floors in my case. 

Hope the development team reckons this issues soon.

0 Likes

lucas-gsbp
Contributor
Contributor

One more vote!

Anonymous
Not applicable
Please can you send to me video how can install building code sample and when can i find the API for attach top and bottom wall to floor ?
Thanks in advanced
0 Likes

Anonymous
Not applicable

Please if anyone solve this problem, can send it to me because i need it urgent attach walls to top and bottom floor 

0 Likes

jeremy_tammik
Autodesk
Autodesk

That is easy. Take a look at the ADN Xtra labs sample to create a little house, Lab2_0_CreateLittleHouse:

 

https://github.com/jeremytammik/AdnRevitApiLabsXtra/blob/master/XtraCs/Labs2.cs#L42-L427

  

It creates four walls and attaches them to the bottom and top levels just as you request.

  

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

Anonymous
Not applicable

IMG-20211106-WA0011.jpg

 how can i solve this errors?

0 Likes

jeremy_tammik
Autodesk
Autodesk

Impossible to say with zero information. 

 

I would suggest working through the getting started material first of all to get a solid understanding of the basics of the Revit API and add-in architecture and then moving forward from there:

 

https://thebuildingcoder.typepad.com/blog/about-the-author.html#1b

  

 

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

Type a product name