Getting error while creating a door in Level 2

Getting error while creating a door in Level 2

abdul.rafee
Contributor Contributor
1,386 Views
25 Replies
Message 1 of 26

Getting error while creating a door in Level 2

abdul.rafee
Contributor
Contributor

Hi,

 

I am trying to place a door on Level 2 but failed to say that cannot cut the instance of the door out of the wall.

below screenshot for you better understand 

 

abdulrafee_0-1680066016812.png

below my code

 

abdulrafee_1-1680066072263.png

 

0 Likes
1,387 Views
25 Replies
Replies (25)
Message 2 of 26

jeremy_tammik
Alumni
Alumni

Maybe the wall is simply too short to host that specific door? Can you place the door in the wall manually using the end user interface?

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes
Message 3 of 26

sayu94
Enthusiast
Enthusiast
Hello. I see xyz - may be it point not in line of wall? you must create new door in point in the wall.
0 Likes
Message 4 of 26

abdul.rafee
Contributor
Contributor

I tried to manually copy the door level 2 it's working fine.

0 Likes
Message 5 of 26

abdul.rafee
Contributor
Contributor

Yes, you're guessing was correct  I am creating a door with the same XYZ point and changing level 2 but not working.

0 Likes
Message 6 of 26

sayu94
Enthusiast
Enthusiast
use point on level 2
0 Likes
Message 7 of 26

abdul.rafee
Contributor
Contributor
Yes, you're guessing was correct I am creating a door with the same XYZ point (z value 0) and changing level 2 but not working.
0 Likes
Message 8 of 26

abdul.rafee
Contributor
Contributor
how I can use it on level 2 in coding this is confusing
0 Likes
Message 9 of 26

sayu94
Enthusiast
Enthusiast
if you want to insert door in wall on level2 - you must use this wall and point in this wall
0 Likes
Message 10 of 26

abdul.rafee
Contributor
Contributor
I am creating a wall on level 2 only using the same wall to create the door
0 Likes
Message 11 of 26

sayu94
Enthusiast
Enthusiast
FamilyInstance must have Host and you can use exactly wall on level2 and point exactly on level2, not z=0
0 Likes
Message 12 of 26

abdul.rafee
Contributor
Contributor
even though I changed the z value to a desired elevation, but same problem
0 Likes
Message 13 of 26

sayu94
Enthusiast
Enthusiast
Our new Zcoordinate on line wall on level2? And you use by host exactly wall on level2?
0 Likes
Message 14 of 26

abdul.rafee
Contributor
Contributor
This means you say that use the same z value while creating a wall on level 2 is that correct?
0 Likes
Message 15 of 26

sayu94
Enthusiast
Enthusiast

sayu94_0-1680074933299.png

 

0 Likes
Message 16 of 26

abdul.rafee
Contributor
Contributor
Very good explanation, is exactly what I am looking how I can get that point I tried with level id and also tried with z elevation.

0 Likes
Message 17 of 26

sayu94
Enthusiast
Enthusiast
You can use project your first point ol line location wall
https://www.revitapidocs.com/2019/b87fc3e4-ea25-2a75-5b5a-53065b099d2a.htm
0 Likes
Message 18 of 26

abdul.rafee
Contributor
Contributor
Many thanks to support, I will try and then let you know
0 Likes
Message 19 of 26

abdul.rafee
Contributor
Contributor
I tried but did not succeed. let me know if you have any solution much appreciated.

Thanks.
0 Likes
Message 20 of 26

abdul.rafee
Contributor
Contributor
I tried but did not succeed. Let me know if you have any solution much appreciated.

Thanks.
0 Likes