Hello, I am trying to create a Dynamo script that can essentially use the pipe command and draw a pipe in Revit. I was wondering if it was possible to prompt the user of what pipe type to be used and Revit will have the correct pipe type assigned after drawing? For example asking the user what type pipe to draw: Pipe Type 1, Pipe Type 2, Pipe Type 3, Pipe Type 4. And selecting Pipe Type 3 would then have the user draw the pipe and when checking the properties it will be assigned to Pipe Type 3.
The basics of creating an Element in Revit via Dynamo are
For a line base Element, like a Pipe, to have two Points
For a Surface, 3 Points
For a Volume 4 Points
Yes, this is possible, as said before. You need to use dynamo to create the line geometry then use nodes from MEPover package to create the pipes themselves.
As for the input of type, you probably could use dynamo player for this, or use the data shapes package for something more advanced.
Good luck!