- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everyone,
I am trying to create square studs using the Revit API.
I already have studs component information including length, width, height, start and end coordinates, and offset.
Two methods have been tried so far:
(1) Use a "wall" to build "vertical studs".
The code is shown in Figure :
But I found a problem is that the wall cannot control the "y-direction offset".
The second method is to use the beam:
(1) Use "beam" to build "horizontal" studs
But the beam's method seems to be unable to control its length and width.
Its size can only be controlled by the type of beam.
The results are as follows:
Questions:
Is there a better and more convenient way to have both vertical and horizontal Studs built at the same time?
Or how to improve in the currently completed method?
(1) How to set the Y-direction offset value of the wall
(2) How to control the length and width of the beam in the code.
Any relevant help will be appreciated.
Thank you.
Solved! Go to Solution.