Can a pipe have multiple pipe types assigned?

Can a pipe have multiple pipe types assigned?

Anonymous
Not applicable
2,018 Views
22 Replies
Message 1 of 23

Can a pipe have multiple pipe types assigned?

Anonymous
Not applicable

In the code, I change the pipe type for two pipes:

 

pipe.ChangeTypeId(newPipeType.Id);

 

After commiting the transaction, I change to the Revit UI (see Attachement). 

 

  • When I select each pipe, the new pipe type is shown in the properties >> correct
  • When I right click the new pipe type and select Select all Instances | In Entire Project, both pipes get selected >> correct
  • When I right click the previous pipe type and select Select all Instances | In Entire Project, no pipes get selected >> correct
  • When I delete the new pipe type, both pipes get deleted>> correct
  • (after undoing the last step) When I delete the previous pipe type, one pipe gets deleted (!)>> wrong

 

Allthough I know that it's not possible, it seams that a pipe has assigned two pipe types, the new one and still the previous one.

0 Likes
2,019 Views
22 Replies
Replies (22)
Message 21 of 23

Anonymous
Not applicable

Hello

 

When does the fix approximately find it's way to the release branch? We're looking forward to the bug be fixed!

 

Thanks, Dominic

0 Likes
Message 22 of 23

Anonymous
Not applicable

Is this bug planned to be fixed in a future release?

0 Likes
Message 23 of 23

jeremy_tammik
Alumni
Alumni

Dear Dominic,

 

Thank you for your patience and sorry for the late reply.

 

God news:

 

The change request REVIT-161421 has now been resolved and submitted for the next major release of Revit, coming real soon now.

 

You can probably check it out right away in the preview release, if you want:

 

https://thebuildingcoder.typepad.com/blog/2021/01/sketch-based-creation-and-editing-api-preview.html

 

Best regards,

 

Jeremy

 

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