Missing Autodesk.Revit.DB.Infrastructure.Alignment class reference

Missing Autodesk.Revit.DB.Infrastructure.Alignment class reference

jgemperline
Explorer Explorer
456 Views
2 Replies
Message 1 of 3

Missing Autodesk.Revit.DB.Infrastructure.Alignment class reference

jgemperline
Explorer
Explorer

I hope this is not too silly to ask here. I'm not finding any references to the Infrastructure namespace. I was expecting to find it here: "using Autodesk.Revit.DB.Infrasturcture". Any tips on how to access the Infrastructure API ? I'm using Revit 2023.

 

jgemperline_0-1681857145911.png

Thanks in advance

Joe

 

0 Likes
Accepted solutions (1)
457 Views
2 Replies
Replies (2)
Message 2 of 3

RPTHOMAS108
Mentor
Mentor
Accepted solution

RevitAPI.chm tells you the name of the dll to reference but not where it is, this is where it is (depending on year):

 

C:\Program Files\Autodesk\Revit 2024\AddIns\CivilAlignments\Autodesk.CivilAlignments.DBApplication.dll

Message 3 of 3

jgemperline
Explorer
Explorer
Thanks RPTHOMAS108!
0 Likes