Hi All,
Please find attached my take on retrieving a list of Workspaces from menu files .cui and .cuix
The function to use is (workspacelist) which returns a list of workspace names, similar to (layoutlist) for retrieving a list of Layout names.
The functionality for extracting "WorkspaceRoot.cui" from .cuix requires copying the .cuix to .zip so that it can be accessed as a Windows compressed (zipped) folder which the Windows object "Shell.Application" provides.
Please rename the attachment to .lsp
I received the following error when I tried to post the .lsp: "The contents of the attachment doesn't match its file type."
If possible, I would appreciate some advice on this error when posting .lsp files.
Thanks.
Regards,
Trevor
Many thanks for sharing your code Trevor.
The "The contents of the attachment doesn't match its file type." sometimes happens and is a known issue by Autodesk, they are trying to fix it.
Henrique
Hi Henrique,
Thank you for your reply and your advice about uploading.
Regards,
Trevor
Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.