Issue with Topography surface boundary

Issue with Topography surface boundary

Anonymous
Not applicable
2,260 Views
12 Replies
Message 1 of 13

Issue with Topography surface boundary

Anonymous
Not applicable

Hi,

Kindly let me know is there any way to maintain the topography surface boundary through API.

We are in the mid of the project. As of my understanding topo accepts for convex shape but not the concave shape.

Kindly provide as some solution to overcome the limtation.

 

Thanks in Advance,

Kavitha J

0 Likes
2,261 Views
12 Replies
Replies (12)
Message 2 of 13

jeremytammik
Autodesk
Autodesk

Dear Kavitha,

 

Thank you for your query, both via ADN and in your thread the Revit API discussion forum:

 

https://forums.autodesk.com/t5/revit-api-forum/issue-with-topography-surface-boundary/m-p/8044069

 

Please note that the preferred method to submit non-confidential ADN queries or requests on the Revit API like this is via the Revit API discussion forum, so I will answer you here.

 

Any thread that you submit here using your email address registered as an ADN member will be recognised as such and automatically escalated to us in the ADN team, so there would be no need to submit the additional ADN case.

 

In the forum, you obviously address a larger audience, more of your peers will see it, be able to chip in and help, and more people will see and profit from the answers we provide.

 

We therefore prioritise cases from the discussion forum.

 

Please submit all your non-confidential queries via the Revit API discussion forum.

 

Thank you for your understanding and cooperation.

 

Concerning the question you raise:

 

Can this be achieved in the user interface?

 

If not, it is probably not supported by the Revit product at all, and therefore obviously not by the API either.

 

Here is the knowledgebase entry on toposurfaces:

 

https://knowledge.autodesk.com/support/revit-products/learn-explore/caas/CloudHelp/cloudhelp/2015/EN...

 

Why do you need it to be concave?

 

In reality, only the points count, and the lines are imaginary.

 

That is highlighted by this note from a different question: Topo lines are always an interpretation.  You measure points. For the measured points the topo will be correct, regardless of what the topo lines show. Topography lines are not a connect-the-dots process.  If you need more accurate data, place more points. They don't have to be even elevation numbers.  If that topo line is "wrong" and it should be e.g. 100.1 instead of 100, then put 100.1 there.

 

I hope this helps.

 

Best regards,

 

Jeremy

   



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

Message 3 of 13

Revitalizer
Advisor
Advisor
0 Likes
Message 4 of 13

Anonymous
Not applicable

Hi Jeremy,

 

Thanks for your reply!

Even if I try to create topo with more points, its not getting created with the proper shape.

Revit always connects the outer points and creating a new shape.

Herewith I have attached my screenshots, I'm trying to create a topo like in my first screenshot but the result is like is the next screenshot.

Kindly let me your thoughts.

 

 

0 Likes
Message 5 of 13

Revitalizer
Advisor
Advisor
0 Likes
Message 6 of 13

vsrinivasan
Participant
Participant

Hi,

Thanks for your kind response!

But still we are facing the issue.

 

Thank,

Kavitha

0 Likes
Message 7 of 13

Anonymous
Not applicable

Hi everyone,

 

Unfortunately, same issue for me...

Any help?

 

Thank's

 

Ben

0 Likes
Message 8 of 13

thesung96
Participant
Participant
Hi Jeremy,
I tried to find "Split Surface" function on Revit API but couldn't find it, can you tell me if it is supported on certain API version
Thank you!
0 Likes
Message 9 of 13

jeremy_tammik
Alumni
Alumni

I searched The Building Coder for 'split surface' for you and found a hit in 2011:

  

https://thebuildingcoder.typepad.com/blog/2011/03/many-issues-resolved.html

  

Face.HasRegions & Face.GetRegions()

 

This property and method provide information about the faces created by the Split Face command. HasRegions returns a Boolean value indicating if the face has any Split Face regions. GetRegions returns a list of faces. As the material of these faces can be independently modified through the UI with the Paint tool, the material of each face can be found from its MaterialElementId property.

 

With this new API in Revit 2012, you should be able to retrieve the different paint materials on split surfaces of a wall.

    

So, search the Face class members for methods mentioning 'region':

  

https://www.revitapidocs.com/2023/a7d0d26a-d4ba-8d5b-0c3d-b67963810dbf.htm

  

Maybe you are looking for the FaceSplitter class?

  

https://www.revitapidocs.com/2023/ba55587f-4f1e-7f4c-5b1c-864e10cab304.htm

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
Message 10 of 13

thesung96
Participant
Participant

Thanks for your enthusiasm!

I wrote missing. What I'm looking for is "Split Toposurface". Because I want to create Toposurface with concave hull. I found Create(Document, IList XYZ , IList PolymeshFacet ), it can create Toposurface with concave hull but can't edit it on model anymore. I really want to make it with API and then editable. Revit has support for Split Toposurface feature on ribbon bar, can use it to split Toposurface and get desired part, it is still editable. Does the Revit API provide this feature?

0 Likes
Message 11 of 13

jeremy_tammik
Alumni
Alumni

Thank you for clarifying what you are after. I asked the development team for you.

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
Message 12 of 13

thesung96
Participant
Participant

Thank you so much!!! I'm looking forward to your reply

0 Likes
Message 13 of 13

jeremy_tammik
Alumni
Alumni

I discussed this with the development team. They are not planning to implement any new TopoSurface functionality. Instead, you can look forward to a different, new approach in future releases of Revit. Please join the Revit Preview program to learn more, try it out, and be able to discuss it with the team. Future functionality cannot be discussed here. It requires a NDA.

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open