We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18b0bd4 commit 2c62defCopy full SHA for 2c62def
pyrevitlib/pyrevit/revit/db/query.py
@@ -1178,7 +1178,7 @@ def get_rvt_link_doc_name(rvtlink_instance):
1178
Returns:
1179
str: The name of the Revit link document, without the file extension and any directory paths.
1180
"""
1181
- return get_name(rvtlink_instance).split(" \ ")[0].split(".rvt")[0]
+ return get_name(rvtlink_instance).split("\\")[0].split(".rvt")[0]
1182
1183
1184
def get_rvt_link_instance_name(rvtlink_instance=None):
0 commit comments