How to change the structural section type using Revit API

How to change the structural section type using Revit API

Anonymous
Not applicable
584 Views
2 Replies
Message 1 of 3

How to change the structural section type using Revit API

Anonymous
Not applicable

I want to change the structural section type of an element (e.g. beam). using the revit API

 

1. Loop through all the beams

 

2. Find a some beams

 

3. change the section type of those beams.

 

I can achieve 1 and 2 but dont know how to go about 3

 

 

0 Likes
585 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Use ChangeTypeId ()
0 Likes
Message 3 of 3

Anonymous
Not applicable
Hi Scott

I know I can use that method the issue am having is getting the argument typeID for the ChangeTypeId (typeID).

My challanged is converting the family name and type of the section to typeID. To use that method
0 Likes