Creating a circular column

Creating a circular column

ahmadkhalaf7892
Advocate Advocate
3,103 Views
4 Replies
Message 1 of 5

Creating a circular column

ahmadkhalaf7892
Advocate
Advocate

Hi everyone, forgive me for asking but I am a newbie in Revit API. 

I wanted to ask if there was any possible way so that we can create a new circular column in Revit API?

I don't know if it is possible, I have been checking the forum for such a topic, but I didn't get my answer.

I am still in the learning process and trying to understand how it works. Thanks

 

 

 

 

Accepted solutions (1)
3,104 Views
4 Replies
Replies (4)
Message 2 of 5

jeremy_tammik
Alumni
Alumni

Welcome to the Revit API.

  

Yes, certainly you can programmatically create a circular column. 

  

However, you cannot succeed with that task without first understanding the manual process to achieve the same through the end user interface. It requires creating a family definition and defining family types.

  

I suggest that you learn how to perform this task manually through the end-user interface first. Once you have understood that process, you can look into automating it using the API. 

  

Once you are well prepared for that, you can take a look at some important articles explaining the programmatic family creation process shared by The Building Coder:

  

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

  

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

ahmadkhalaf7892
Advocate
Advocate
Hi Jeremy
Thank you for the guidance, from what I have read I first have to create the column Family manually and insert it into the Revit project so that I can add it using Revit API. This is the better approach, right?
Can the Revit API create a family from zero? I am asking for future purposes I am not intending to such an action now
Message 4 of 5

jeremy_tammik
Alumni
Alumni
Accepted solution
> have to create the column Family manually...
  
... or programmatically.
  
> insert it into the Revit project so that I can add it using Revit API. This is the better approach, right?
  
Yes.
  
> Can the Revit API create a family from zero?
  
Yes.
  
Here is an example of all three steps:
  
  • Create family definition
  • Load family into project
  • Place family instance
  
  
 
Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes
Message 5 of 5

ahmadkhalaf7892
Advocate
Advocate
Thank you my dear , I will see what I can and learn
0 Likes