Message 1 of 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi , how to made a Label parameter is only show "File Name", not File Path? Thanks.
Solved! Go to Solution.
Hi , how to made a Label parameter is only show "File Name", not File Path? Thanks.
Solved! Go to Solution.
Not sure but why would you want the Sheet name to be the file name - do you only have one sheet in each project (file)?
yes. for example my drawing number is TS/FD/001 on sheet. But my file name is TS_FD_001.rvt.
I want shown it on print out. And the actual file name is easy for search.
@pe_simon wrote:yes. for example my drawing number is TS/FD/001 on sheet. But my file name is TS_FD_001.rvt.
I want shown it on print out. And the actual file name is easy for search.
So you're creating a different Revit model for each individual drawing?
That's weird unless they are extremely small and simplistic projects.
You could probably do it with Dynamo but it would involve getting the value of the File Path and then truncating the string and sending the result to another parameter - and then how would you know how many characters to truncate by, would it be the same every time?
Seems like a lot of hassle for just one sheet per file so personally I would do as @ToanDN suggests.
I've done a Dynamo script which seems to work.
YOU will need to:
Good luck. Come back if it doesn't work.