View.Duplicate WithDetailing fails if Attached Detail Groups are in the view

View.Duplicate WithDetailing fails if Attached Detail Groups are in the view

thomas
Advocate Advocate
496 Views
1 Reply
Message 1 of 2

View.Duplicate WithDetailing fails if Attached Detail Groups are in the view

thomas
Advocate
Advocate

I appear to have stumbled upon a possible bug in the Revit 2017 API (not tested newer versions). 

 

Calling View.Duplicate(opt) where opt = ViewDuplicateOption.WithDetailing fails if the view has attached detail groups. As soon as I delete the attached Detail groups, everything works as expected. 

 

Is this a known bug? If so, are there any workarounds? 

0 Likes
497 Views
1 Reply
Reply (1)
Message 2 of 2

editavinca
Contributor
Contributor

Hello!

I am having a very similar problem with Revit 2018. It looks like Duplicate with Detailing has a confilct with duplicating attached detail groups. 

Have you come to an answer regarding this issue?

Thank you in advance! 

0 Likes