A few weeks ago I posted an update to Rhythm which included some pretty nifty helper nodes, named Ayuda and OS.
One of the nodes I included in this update was OS.CurrentUser. This simply retrieves the current user that is logged in for use elsewhere. Below is on example of a good use for this.
My only hangup with this node is it requires python. That’s great and all but there needs to be another way!
That’s when I came up with the following workflow.
All it does it retrieve the file path from your current open Revit file and retrieves the username between some typical characters with the package Zebra.
Since your local files are typically saved on your local hard drive this will work pretty well.
This means we can now embed file paths in our definitions if they are at a specific location!
-johnp