Announcements

Starting in December, we will archive content from the community that is 10 years and older. This FAQ provides more information.

Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

preventing from duplication or intersection of instances on a point

2 REPLIES 2
Reply
Message 1 of 3
Ali.sadeghi.h1994
276 Views, 2 Replies

preventing from duplication or intersection of instances on a point

Hi everyone, I wrote a code to place new desired instances on specific points with NewFamilyInstance() method. How should I prevent adding instance on the points that there is same or other types of instances on them before (Check if there is an instance on the point or not)? somehow preventing from duplication or intersection of instances on a point.

Labels (3)
2 REPLIES 2
Message 2 of 3

Hi @Ali.sadeghi.h1994,

 

There was an interesting conversation about the question you raised above in the link shared below.

 

https://forums.autodesk.com/t5/revit-api-forum/check-multiple-instances-same-place/td-p/7443346

  Moturi George,     Developer Advocacy and Support,  ADN Open
Message 3 of 3

@moturi.magati.george
Thanks for your answer and suggested link. I have checked that but unfortunately the problem is not still solved. One solution is to define lists of all instances and their locations and check their intersection by loops or if statements but I'm looking for a short way to do that and I hope someone find the solution soon.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report