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: 

api revit columns

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
650 Views, 3 Replies

api revit columns

I can not upload the right column .... anyone can help me ... Thanks for your cooperation ..... I attach files vb.net and images  error

 

In particular fails to recognize and load the structural Columns e Framing

 

'add symbols of beams and braces to lists
Dim categoryName As String = familyType.Category.Name

If "Structural Framing" = categoryName Then
       m_beamMaps.Add(New SymbolMap(familyType))
       m_braceMaps.Add(New SymbolMap(familyType))
ElseIf "Structural Columns" = categoryName Then
       m_columnMaps.Add(New SymbolMap(familyType))
End If

3 REPLIES 3
Message 2 of 4
Joe.Ye
in reply to: Anonymous

 

 

The code project itself doesn't load any family.

This error indicates there is no structural column family in the target document. So you need to load at least one such family before you run this external command. You can load structural column family manually using Revit's load family command.

 

 



Joe Ye
Contractor
Developer Technical Services
Autodesk Developer Network
Message 3 of 4
Anonymous
in reply to: Joe.Ye

The error is due to this reason, I had already uploaded some of the pillars of Revit families ... but it does not work and keeps giving me the error .... I point out that I use revit in Italian .... .... but the problem of the program vbnet is the loading of the names of the pillars ..... Thanks for your cooperation

Message 4 of 4
Joe.Ye
in reply to: Anonymous

 

  Revit has two kinds of column, Architecture column and Structural column. The possible reason is that the pillar you loaded is not structural column. Please make sure structural column is already loaded, before run this command.



Joe Ye
Contractor
Developer Technical Services
Autodesk Developer Network

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

Post to forums  

Rail Community


Autodesk Design & Make Report