Message 1 of 23
Can a pipe have multiple pipe types assigned?

Not applicable
03-26-2020
03:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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.