shared parameter, stop connection between components

shared parameter, stop connection between components

husam_al-jawhar
Enthusiast Enthusiast
284 Views
2 Replies
Message 1 of 3

shared parameter, stop connection between components

husam_al-jawhar
Enthusiast
Enthusiast

Hello all,

I hope you are doing well. I have two inquiries.

First, I made the shared parameter as the project requirements, and each column must have its own parameters, but when I started adding the value to the column, it appeared that all the project's columns took the same values. How can I make each column unique and have its own shared parameter?
The second inquiry came when I took a simple example of two columns and one beam using a precast column and precast beam family. Then, when I started moving the column with the tool I created, the beam still connected to the column and expanded. How can I stop this connection?

Best,

 

Accepted solutions (2)
285 Views
2 Replies
Replies (2)
Message 2 of 3

jeremy_tammik
Alumni
Alumni
Accepted solution

You are asking two different questions. In future, it might be better to separate different questions into different threads.

    

Also, it might be a good idea to spell check your text before submitting it. Talking about a 'sherard' parameter and a 'sheared' parameter will make searching for and finding this thread sometime in the future much harder.

    

In both of your questions, you leave much open, so I can only guess what you might be doing and what might be the problem.

  

Regarding the first question: maybe your shared parameter is a type parameter instead of an instance parameter?

  

For the second question, you may be able to disconnect the beam from the column by modifying its LocationCurve.JoinType property:

  

  

You can learn more by searching for 'revit api disconnect beam column':

  

     

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

husam_al-jawhar
Enthusiast
Enthusiast
Accepted solution

I will do that in the future. Thanks a lot for your answer.