How to join ModelLines?

How to join ModelLines?

Anonymous
Not applicable
1,873 Views
1 Reply
Message 1 of 2

How to join ModelLines?

Anonymous
Not applicable

I want to join ModelLines..!

캡처.PNG

 The picture consists of six ModelLines... like that! only one model line!

<Autodesk.Revit.DB.ModelLine object at 0x0000000000000110 [Autodesk.Revit.DB.ModelLine]>
 
ps)May I use this function 'JoinGeometry'??
    +I want to know how to save ModelLine's element!
0 Likes
Accepted solutions (1)
1,874 Views
1 Reply
Reply (1)
Message 2 of 2

jeremytammik
Autodesk
Autodesk
Accepted solution

If you are asking how to join the six model lines into one single element, I must say that I do not believe that is possible.

 

However, the first thing you should always do to research how to solve a Revit API programming task is to find out how to address the issue optimally and using best practices manually through the end user interface.

 

Can you join those six lines manually in the user interface to one single element? 

 

If so, use RevitLookup to explore how that element is represented in the Revit database.

 

If not, it is probably not possible programmatically through the API either.

 



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

0 Likes