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.
2 parents 18b0bd4 + 2c62def commit c9c240dCopy full SHA for c9c240d
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