can i build a new family with editable edge lines?

can i build a new family with editable edge lines?

nixiangrui2017
Participant Participant
210 Views
1 Reply
Message 1 of 2

can i build a new family with editable edge lines?

nixiangrui2017
Participant
Participant

Hi, I want to build a new family in Revit, it is a vertical plate that is usually stick to a wall's side surface. Now, I really envy the built-in family of slab. When we create a slab in Revit, we will first need to draw the edge lines of this slab. This means the family slab has editable edge lines (I do not know what this is actually called in API). Can I have this functionality in my new family and can I use this function using API?

It should work like this. When I use API to create a plate instance, I need to provide a list of Curves as the edge lines and some other required parameters, so that I can create not only rectangle but also polygon shape plates.

0 Likes
211 Views
1 Reply
Reply (1)
Message 2 of 2

jeremy_tammik
Alumni
Alumni

I don't know whether such a family can be created externally, or whether such functionality is limited to the built-in system families. The best way to find out is to explore the question from a manual end-user point of view. Once you have identified the optimal workflow and best practices in the UI, you can step up to the programmatic creation using the API. However, it sounds to me as if creating such a family manually would satisfy your needs.

  

So, please explore this in the non-API Revit product support discussion forums first:

   

https://forums.autodesk.com/t5/revit-api-forum/this-forum-is-for-revit-api-programming-questions-not...

    

The expert content creators can tell you more about family definition functionality than us programming nerds.

  

If your goal cannot be achieved using a family definition, you might want to explore using a direct shape to address the task instead of a family instance:

  

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

  

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