Alignment object (new in revit 2022 API)

Dear All,

when i cheak what is new in Revit API 2022 found new object “Civil Alignments”. that is very important for linear str. (bridge and tunnel) .
Is that mean now we have Alignments object in Revit as in Civil3d?
Is any one has any information for this new object and How can it be used?


2 Likes

Thank you for sharing the information.

My understanding is the API is for coordination purpose to verify a civil structure which is imported from InfraWorks or Civil3D. Revit 2022 now support alignment not object and can add station annotation in it.
Alignment data will be obtained from InfraWorks according to the document.
I can’t find anything related with the civil structure API in the document.

Edit
Top 5 Reasons to Upgrade to Revit 2022 for Structure - CADD Microsystems Blog
But good thing is we don’t need to use “Generic Model”. They finally added civil categories!

1 Like

any one test this options?

Hi Ramiz,

i allready did a post in InfraWorks Forum

I managed to import an alignment object to Revit. But only when i created the alignment in Infrawork. When I pass an alignment from Civil3D to Infrawork to Revit then there is only Civil Structure importing in Revit but no alinment objects.

Maybe someone else has more experience.

Cheers

1 Like

Hi @RMohareb ,

I was trying to create an Alignment today following Alignment Class in Revit API documentation but I could not see anything related to a constructor to create an instance of the Alignment Class.

Then, I imported an imx file coming from Infraworks and if I snoop selection with RevitLookUp, I can see it is a DirectShape. However, if I try to create the DirectShape from a PolyCurve of the alignment through Dynamo, it says it can only be created from a solid entity.

Did you come up with any workaround to create an Alignment Category in Revit?

Cheers,

1 Like

@JMCiller I try but not work. This object has no constractor to creat. the only way as i know to import from infrawork.

It’s such a pity they only implemented the Alignment creation from the imx file coming from Infraworks… it limits the workflows so much for the linear infrastructure users.

I also investigated if the Civil Structures add-in was somewhere in the C/ drive but I could not find it, just to see how the tool transforms the imx data-base into an Alignment instance category in Revit.

1 Like