Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Hotkey to define Start/End Connection? write family parameter?

1 REPLY 1
SOLVED
Reply
Message 1 of 2
Anonymous
444 Views, 1 Reply

Hotkey to define Start/End Connection? write family parameter?

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 todaySmiley Happy 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.

 

 

1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

This problem has been solved.Smiley Happy

 

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();
}

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community