Message 1 of 12
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm writing an addin to duplicate pipe types, which requires duplication and renaming of associated fittings as defined in the routing preferences for the type. I'm able to retrieve the pipe type OK, but when I try to retrieve the builtin parameters that store the routing preferences the values that are returned are for a different type. The same happens when I use "Revit Lookup", which makes me suspect there's an API issue, rather than an addin issue. Has anyone else managed to retrieve routing preference information for pipe types successfully? To replicate the issue with "Revit Lookup": 1) Create a new project that contains Pipe Types (I used the Autodesk template "UK Pipe Template.rte") 2) On the project browser, select a pipe type (for example "Families > Pipes > Pipe Types > Copper - Press-Fit") 3) Activate Revit Lookup using "Snoop Current Selection..." 4) Select the "Parameters" item 5) Click the "Built-in Enums Snoop..." button 6) Select a builtin parameter that corresponds to pipe routing preferences, for example "RBS_CURVETYPE_DEFAULT_TEE_PARAM" 7) Revit Lookup shows the "As Value String" returning "Branch - Push-Fit - SS: Standard". If you edit the routing preferences using the Revit UI "Junction" is set to "Tee - Press-Fit - CU: Standard". This difference occurs for all of the builtin parameters and pipe types that I've tried.
Solved! Go to Solution.