Skip to content

[Bug]: Unique ID generation changed in 6.0 #3164

@Wurschdhaud

Description

@Wurschdhaud

✈ Pre-Flight checks

  • I don't have SentinelOne antivirus installed (see above for the solution)
  • I have searched in the issues (open and closed) but couldn't find a similar issue
  • I have searched in the pyRevit Forum for similar issues
  • I already followed the installation troubleshooting guide thoroughly
  • I am using the latest pyRevit Version

🐞 Describe the bug

When using shift-win-click, you can get the unique id, to be used to call commands via sessionmgr.execute_command.
in 6.1 (or even 6.0) this generation was changed, braking scripts. And underscore will no longer be generated as "under" but rather as an underscore. Additionally the separator changed. Existing scripts no longer work.

⌨ Error/Debug Message

ERROR [pyrevit.loader.sessionmgr] Can not find command with unique name: XXXunderstools-XXXunderstools-modify-mycommand

♻️ To Reproduce

No response

⏲️ Expected behavior

Image

🖥️ Hardware and Software Setup (please complete the following information)

latest

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugBug that stops user from using the tool or a major portion of pyRevit functionality [class]

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions