Revit 2019.2 - element geometry from directshape

Revit 2019.2 - element geometry from directshape

noynpe
Enthusiast Enthusiast
1,166 Views
1 Reply
Message 1 of 2

Revit 2019.2 - element geometry from directshape

noynpe
Enthusiast
Enthusiast

I upgraded to Revit 2019.2 to try the new Link topography function from Civil 3D. This works good, but it seems Autodesk have made some changes to the categorys. Previously I've used the directshape category in my Dynamo scripts. No I am suddenly not able to extract element geometry from the direct shape through Dynamo anymore.  This is vital for out production and we need this to work. It is not possible to do this with the linked topography either, it would be good if this worked with the linked topo.

Any good ideas on how to fix this?

0 Likes
1,167 Views
1 Reply
Reply (1)
Message 2 of 2

jeremytammik
Autodesk
Autodesk

Dear Yngve,

 

Thank you for your query.

 

If the problem is just a change in categories, I would suggest that you adapt your script accordingly.

 

You can use RevitLookup to snoop the database and determine the proper filtering criteria to use in the updated version:

 

https://github.com/jeremytammik/RevitLookup

 

If the categories differ between Revit 2019.2 and other releases, you can implement a flexible category selection depending on the Revit version running your add-in.

 

I hope this helps.

 

Best regards,

 

Jeremy

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes