Level wise door and window creation issue

Level wise door and window creation issue

SaddamShaikh77
Advocate Advocate
195 Views
0 Replies
Message 1 of 1

Level wise door and window creation issue

SaddamShaikh77
Advocate
Advocate

Hello Forum,
I am trying to create level wise doors,walls and windows using Revit api.

When I use door = doc.Create.NewFamilyInstance(xyz, familySymbol, wall, level, StructuralType.NonStructural);

 then doors,windows and wall created as expected on the level 1 but except walls , doors and windows fails to create on level 2. Please ref image below.

SaddamShaikh77_0-1632202310391.png

 

When I use door = doc.Create.NewFamilyInstance(xyz, familySymbol, direction, wall, StructuralType.NonStructural);

then, door,windows and walls are getting created on respective levels but then I can't copy and paste the created families and get this error while copying instances.

SaddamShaikh77_1-1632202515761.png

However, walls can be copy/paste but not doors and windows. Refer image below

SaddamShaikh77_2-1632202725082.png

 

Please help me for fixing this issue.

 

Thank you.

0 Likes
196 Views
0 Replies
Replies (0)