Good afternoon,
Is there any way to change an interior point to a boundary point or vise versa using Revit's API? I want to do this so I can display the boundary of the topography I have generated correctly. I can't seem to find any resources discussing this topic.
Thank you in advance!
I'm asking the development team for you...
That sounds great! I'm looking forward to the response. Thank you Jeremy!
They answer:
I am reasonably certain that points are considered boundary points of a regular TopographySurface based on geometry. If a new point is added and it's outside or on the boundary of the region enclosed by the exterior of the connections of current boundary points, that new point is a boundary point. Otherwise, it's interior. For an existing point, it's either already a boundary point, or already interior. Remember that topography surfaces cannot be concave, only convex from their exterior points.
Cheers,
Jeremy
Thank you for following up on this post. I understand the current behavior of the toposurface and wish to make suggestions to improve the current methods. I attempted to make a post on the ideas forum; however, my post would not go through.
For now, here is what I intended to post. Maybe you have some thoughts or position to make this happen! Here is what I wrote:
Defining Toposurface Boundary Proposal
Issue:
Insufficient control over defining toposurface boundary points.
Occurs:
Current Solutions:
Proposed Solutions:
Screenshot:
Issue Proposed
Please try again. It is working for the rest of the community. Thank you!
By the way, what you are asking for is support for a concave TopoSurface element.
Maybe such a wish already exists?
hi Jeremy,
I have been looking for this opportunity for half a year already.
if it really exists, I think many would like to know about it.
I’m looking for any way to get tight topography boundaries in order to achieve a concave contour or topography with a hole.
in the user interface, I have at once some ways to achieve this result (split toposurface, merge toposurface), but I didn't find the API way.......?
Afaik, there is no way, neither in the UI or API. What you describe sounds like workarounds. The workarounds may work in both. For the real thing, as said, please file or vote for the wish list entry.
Hello Jeremy.
Thanks for the answer.
I just want to apologize for the misunderstandings, I did not see that you were talking about existing wishes and decided that you know some way, but alas.
But, since we will talk about workarounds, maybe you know some?
I think about the use of PostCommand + windows api ...
what do you say?
P.S. Of course I have already voted for the relevant wishes.
Nope, sorry. Cool, thank you for voting! No problem whatsoever, it is a pleasure to help and another to misunderstand... enjoy it either way 🙂
Thank you Mitchell for this suggestion to the long-standing issue. Added it to the blog:
https://thebuildingcoder.typepad.com/blog/2023/06/brepbuilder-and-toposurface-interior.html#3
Can't find what you're looking for? Ask the community or share your knowledge.