Hi, everyone
I need to define the end condition (moment/cantilever) on each beam according to the design from the engineer.
Our office is using a framing family with checkbox options to define the Star/End connection. This might makes the operation a very little faster than using the system build in drop down list to select the end connection, but this kind work is still very time consuming and very easy to make mistakes. especially working on a large building.
I had a dream today while I’m working on a 6 stories project that contains about 7000 framing members
I think it is more convenient and much faster by using hotkey to control the checkbox selection.
for example:
select beam/beams
key in: BMM for
set all other value to uncheck
Moment start (checked)
Moment end (checked)
key in BMC:
set all other value to uncheck
Moment start (checked)
Cantilever end (checked)
I think this is possible to achieve with Revit API. so I’m keep searching the way to read and write the family parameter. but could not find any similar macro online. Any API enthusiast in this forum can give me any suggestions.
Thanks for reading.
Solved! Go to Solution.
This problem has been solved.
using (Transaction t = new Transaction(doc, "Shear"))
{
t.Start();
Parameter SStart = e.get_Parameter("SHEAR START");
Parameter SEnd = e.get_Parameter("SHEAR END");
SStart.Set(1);
SEnd.Set(1);
t.Commit();
}