Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

List of Workspaces

3 REPLIES 3
Reply
Message 1 of 4
trevor.bird.au
873 Views, 3 Replies

List of Workspaces

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

Tags (2)
3 REPLIES 3
Message 2 of 4
hmsilva
in reply to: trevor.bird.au

Many thanks for sharing your code Trevor. Smiley Happy

 

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. Smiley Sad


Henrique

EESignature

Message 3 of 4
trevor.bird.au
in reply to: hmsilva

Hi Henrique,

 

Thank you for your reply and your advice about uploading.

 

Regards,

Trevor

Message 4 of 4
scot-65
in reply to: trevor.bird.au

I usually append a ".txt" to the file name when sending out:
WorkspaceList.lsp.txt

Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.


Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost