Starting in December, we will archive content from the community that is 10 years and older. This FAQ provides more information.
Hi,
Solved! Go to Solution.
Solved by jeremytammik. Go to Solution.
Your approach sounds fine to me.
Duplicate corrdinates are to be expected, of course.
You can eliminate them in many ways.
The easiest, I find, is to implement a fuzzy point equality comparer and then add the points as keys to a dictionary.
I think I do that in my concrete setout point add-in:
I also demonstrate this approach in many other samples on The Building Coder.
Search for XyzEqualityComparer, for instance.
Cheers,
Jeremy
Thank you Jeremy.
I will look into the code for the removal of the duplicate points.
@Anonymous wrote:Your approach sounds fine to me.
Duplicate corrdinates are to be expected, of course.
You can eliminate them in many ways.
The easiest, I find, is to implement a fuzzy point equality comparer and then add the points as keys to a dictionary.
I think I do that in my concrete setout point add-in:
I also demonstrate this approach in many other samples on The Building Coder.
Search for XyzEqualityComparer, for instance.
Cheers,
Jeremy
Can't find what you're looking for? Ask the community or share your knowledge.